Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 222.9 MB / 238.9 MB, free: 4.766 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 184.5 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4114/0.4114, allocations: 78.52 MB / 417.8 MB, free: 3.324 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 75.88 kB / 496.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1362, allocations: 68.18 MB / 0.5517 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.2385/0.3747, allocations: 6.947 MB / 0.5585 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.3782, allocations: 2.072 MB / 0.5605 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004885/0.3787, allocations: 13.16 kB / 0.5605 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006055/0.3794, allocations: 197.4 kB / 0.5607 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.3808, allocations: 0.6666 MB / 0.5614 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.382, allocations: 0.6243 MB / 0.562 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.3832, allocations: 1.549 MB / 0.5635 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/0.3836, allocations: 311.4 kB / 0.5638 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006001/0.3842, allocations: 0.6011 MB / 0.5644 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006037/0.3848, allocations: 0.7783 MB / 0.5651 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.385, allocations: 72.34 kB / 0.5652 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/0.3854, allocations: 204.2 kB / 0.5654 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.3856, allocations: 277.1 kB / 0.5657 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.386, allocations: 0.6263 MB / 0.5663 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009979/0.387, allocations: 1.63 MB / 0.5679 GB, free: 33.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.387, allocations: 3.938 kB / 0.5679 GB, free: 33.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.387, allocations: 0 / 0.5679 GB, free: 33.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.387, allocations: 0.5312 kB / 0.5679 GB, free: 33.71 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.007894/0.3949, allocations: 2.76 MB / 0.5706 GB, free: 32.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.395, allocations: 8.594 kB / 0.5706 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/0.3996, allocations: 0.7926 MB / 0.5713 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.4008, allocations: 0.8787 MB / 0.5722 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.401, allocations: 250.8 kB / 0.5724 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.4011, allocations: 91.27 kB / 0.5725 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.4031, allocations: 1.173 MB / 0.5737 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.4032, allocations: 0 / 0.5737 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.406e-05/0.4033, allocations: 38.91 kB / 0.5737 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.4033, allocations: 18.38 kB / 0.5737 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.4053, allocations: 1.074 MB / 0.5748 GB, free: 31.94 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005168/0.4104, allocations: 3.682 MB / 0.5784 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.4124, allocations: 1.557 MB / 0.5799 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.4136, allocations: 0.7873 MB / 0.5807 GB, free: 29.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.4138, allocations: 14.11 kB / 0.5807 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/0.4153, allocations: 0.891 MB / 0.5815 GB, free: 29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.144e-06/0.4153, allocations: 0 / 0.5815 GB, free: 29 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02484/0.4401, allocations: 6.954 MB / 0.5883 GB, free: 27.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.4402, allocations: 118.2 kB / 0.5884 GB, free: 27.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.4417, allocations: 1.033 MB / 0.5895 GB, free: 27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.4418, allocations: 45.27 kB / 0.5895 GB, free: 26.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.4421, allocations: 0.5046 MB / 0.59 GB, free: 26.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.4424, allocations: 373.8 kB / 0.5903 GB, free: 26.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004382/0.4429, allocations: 247.6 kB / 0.5906 GB, free: 26.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.443, allocations: 359.2 kB / 0.5909 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.4445, allocations: 0.7631 MB / 0.5917 GB, free: 25.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.4462, allocations: 0.9105 MB / 0.5926 GB, free: 25.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02058/0.4668, allocations: 5.418 MB / 0.5979 GB, free: 23.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4668, allocations: 0 / 0.5979 GB, free: 23.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01369/0.4805, allocations: 4.511 MB / 0.6023 GB, free: 22.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.4806, allocations: 59.7 kB / 0.6023 GB, free: 22.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4806, allocations: 2.344 kB / 0.6023 GB, free: 22.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006572/0.4872, allocations: 1.861 MB / 0.6041 GB, free: 21.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.4884, allocations: 253.1 kB / 0.6044 GB, free: 21.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/0.5069, allocations: 8.712 MB / 0.6129 GB, free: 16.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.5086, allocations: 199.4 kB / 0.6131 GB, free: 16.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.5087, allocations: 47.98 kB / 0.6131 GB, free: 16.32 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004707/0.5092, allocations: 288.6 kB / 0.6134 GB, free: 16.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.5094, allocations: 126.4 kB / 0.6135 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.5209, allocations: 4.193 MB / 0.6176 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.5209, allocations: 12 kB / 0.6176 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5209, allocations: 0 / 0.6176 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.5209, allocations: 3.984 kB / 0.6176 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.534, allocations: 5.976 MB / 0.6235 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.534, allocations: 11.97 kB / 0.6235 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.5347, allocations: 99.89 kB / 0.6236 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005288/0.54, allocations: 1.824 MB / 0.6253 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.5401, allocations: 25.11 kB / 0.6254 GB, free: 3.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/0.5583, allocations: 9.384 MB / 0.6345 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5583, allocations: 6.484 kB / 0.6345 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/0.5729, allocations: 5.132 MB / 0.6396 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/0.5734, allocations: 223.2 kB / 0.6398 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/0.5738, allocations: 20 kB / 0.6398 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.575, allocations: 115.9 kB / 0.6399 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006602/0.5757, allocations: 208.6 kB / 0.6401 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.5758, allocations: 28 kB / 0.6401 GB, free: 4.152 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001096/0.5769, allocations: 0.7032 MB / 0.6408 GB, free: 3.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.577, allocations: 0 / 0.6408 GB, free: 3.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001467/0.5784, allocations: 487.5 kB / 0.6413 GB, free: 2.965 MB / 446.1 MB 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.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002725/0.5787, allocations: 134.1 kB / 0.6414 GB, free: 2.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00662/0.5853, allocations: 2.637 MB / 0.644 GB, free: 168 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5854, allocations: 0 / 0.644 GB, free: 168 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004858/0.5902, allocations: 1.764 MB / 0.6457 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.5919, allocations: 122.6 kB / 0.6458 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.5968, allocations: 2.796 MB / 0.6485 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008057/0.5976, allocations: 1.128 MB / 0.6496 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005091/0.5981, allocations: 111.4 kB / 0.6498 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.5984, allocations: 67.42 kB / 0.6498 GB, free: 10.13 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5984, allocations: 0 / 0.6498 GB, free: 10.13 MB / 462.1 MB Notification: Performance of Templates: time 0.03664/0.6351, allocations: 23.84 MB / 0.6731 GB, free: 2.473 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)