Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002452/0.002451, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009327/0.0009327, allocations: 93.92 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4701/0.4701, allocations: 78.07 MB / 409.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.975e-05/1.988e-05, allocations: 3.938 kB / 485 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1512, allocations: 69.37 MB / 0.5414 GB, free: 6.758 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4374/0.5887, allocations: 99.72 MB / 0.6388 GB, free: 15.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.589, allocations: 90.61 kB / 0.6389 GB, free: 15.62 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07781/0.6668, allocations: 28.3 MB / 0.6665 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6668, allocations: 0.5625 kB / 0.6665 GB, free: 3.375 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.518e-05/0.6669, allocations: 23.94 kB / 0.6665 GB, free: 3.352 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.005116/0.672, allocations: 1.86 MB / 0.6683 GB, free: 1.434 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.6721, allocations: 12.03 kB / 0.6683 GB, free: 1.422 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003392/0.6755, allocations: 0.5641 MB / 0.6689 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.6773, allocations: 0.8226 MB / 0.6697 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.6776, allocations: 203.7 kB / 0.6699 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.6777, allocations: 59.86 kB / 0.6699 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001604/0.6793, allocations: 0.8553 MB / 0.6708 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.6809, allocations: 0.8923 MB / 0.6717 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.681, allocations: 3.984 kB / 0.6717 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.59e-05/0.6811, allocations: 0 / 0.6717 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.6811, allocations: 23.94 kB / 0.6717 GB, free: 13.9 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00693/0.688, allocations: 3.664 MB / 0.6753 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.6897, allocations: 1.294 MB / 0.6765 GB, free: 8.688 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009331/0.6906, allocations: 0.5983 MB / 0.6771 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.6908, allocations: 16.77 kB / 0.6771 GB, free: 8.066 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.6908, allocations: 47.34 kB / 0.6772 GB, free: 8.008 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 3.807e-06/0.6908, allocations: 0 / 0.6772 GB, free: 8.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.01255/0.7034, allocations: 4.095 MB / 0.6812 GB, free: 3.902 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.7035, allocations: 145.3 kB / 0.6813 GB, free: 3.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.7048, allocations: 0.7823 MB / 0.6821 GB, free: 2.934 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002781/0.7051, allocations: 25.7 kB / 0.6821 GB, free: 2.902 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.7055, allocations: 0.5087 MB / 0.6826 GB, free: 2.387 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004082/0.7059, allocations: 346.8 kB / 0.6829 GB, free: 2.043 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.927e-05/0.706, allocations: 0 / 0.6829 GB, free: 2.043 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7061, allocations: 341.9 kB / 0.6832 GB, free: 1.703 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008353/0.707, allocations: 482.5 kB / 0.6837 GB, free: 1.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008752/0.7079, allocations: 0.5831 MB / 0.6843 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008564/0.7087, allocations: 0.5191 MB / 0.6848 GB, free: 100 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7087, allocations: 0 / 0.6848 GB, free: 100 kB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01268/0.7214, allocations: 4.263 MB / 0.6889 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004474/0.7219, allocations: 0.9379 MB / 0.6899 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.7219, allocations: 7.984 kB / 0.6899 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006297/0.7282, allocations: 1.759 MB / 0.6916 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/0.7293, allocations: 163.8 kB / 0.6917 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01639/0.7457, allocations: 8.354 MB / 0.6999 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.7475, allocations: 183.1 kB / 0.7001 GB, free: 100 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.7476, allocations: 32 kB / 0.7001 GB, free: 68 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.7477, allocations: 5.25 kB / 0.7001 GB, free: 64 kB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0128/0.7605, allocations: 4.11 MB / 0.7041 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.7605, allocations: 4.938 kB / 0.7041 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006038/0.7666, allocations: 1.766 MB / 0.7059 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000929/0.7675, allocations: 155.8 kB / 0.706 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01664/0.7842, allocations: 8.353 MB / 0.7142 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.7859, allocations: 175.1 kB / 0.7143 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.7861, allocations: 39.92 kB / 0.7144 GB, free: 1.211 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004531/0.7865, allocations: 155.3 kB / 0.7145 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01277/0.7993, allocations: 4.105 MB / 0.7185 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000559/0.7999, allocations: 118.5 kB / 0.7186 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.8125, allocations: 4.218 MB / 0.7228 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.8126, allocations: 8 kB / 0.7228 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8126, allocations: 3.984 kB / 0.7228 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/0.8126, allocations: 7.984 kB / 0.7228 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.8277, allocations: 5.95 MB / 0.7286 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.8278, allocations: 0 / 0.7286 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/0.8287, allocations: 123.8 kB / 0.7287 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005216/0.8339, allocations: 1.66 MB / 0.7303 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002518/0.8342, allocations: 8 kB / 0.7303 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/0.8472, allocations: 6.205 MB / 0.7364 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.8472, allocations: 0 / 0.7364 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.8611, allocations: 5.01 MB / 0.7413 GB, free: 5.344 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005246/0.8617, allocations: 223.3 kB / 0.7415 GB, free: 5.105 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.8619, allocations: 11.94 kB / 0.7415 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.8631, allocations: 131.9 kB / 0.7416 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005611/0.8637, allocations: 189.1 kB / 0.7418 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.8638, allocations: 35.92 kB / 0.7419 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008379/0.8646, allocations: 0.5936 MB / 0.7424 GB, free: 4.145 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8646, allocations: 0 / 0.7424 GB, free: 4.145 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001962/0.8666, allocations: 0.6591 MB / 0.7431 GB, free: 3.484 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0142/0.8808, allocations: 5.657 MB / 0.7486 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01049/0.8913, allocations: 4.059 MB / 0.7526 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.8914, allocations: 4 kB / 0.7526 GB, free: 9.633 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004439/0.8958, allocations: 1.542 MB / 0.7541 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.8969, allocations: 88.05 kB / 0.7542 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.9013, allocations: 1.998 MB / 0.7561 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007769/0.9021, allocations: 1.166 MB / 0.7572 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000825/0.9029, allocations: 188.4 kB / 0.7574 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000549/0.9035, allocations: 447.3 kB / 0.7579 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of SimCode: time 7.42e-07/0.9035, allocations: 0 / 0.7579 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3752/1.279, allocations: 38.06 MB / 0.795 GB, free: 144.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001341/1.279, allocations: 123.6 kB / 0.7951 GB, free: 144.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.347/4.625, allocations: 0 / 0.7951 GB, free: 144.7 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)