Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 79.12 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 177.1 MB / 199.4 MB, free: 8.438 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 168 kB / 256 MB, free: 4.316 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6626/0.6626, allocations: 80.24 MB / 392.6 MB, free: 29.7 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.5553 GB, free: 14.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.727e-05, allocations: 6.391 kB / 0.5553 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005049/0.005076, allocations: 5.065 MB / 0.5602 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.009186, allocations: 1.697 MB / 0.5619 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007666/0.009952, allocations: 9.469 kB / 0.5619 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.01047, allocations: 204.6 kB / 0.5621 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.01218, allocations: 0.7385 MB / 0.5628 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.0134, allocations: 0.5487 MB / 0.5633 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.01469, allocations: 1.273 MB / 0.5646 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.01504, allocations: 183 kB / 0.5648 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000803/0.01584, allocations: 0.7316 MB / 0.5655 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005481/0.01639, allocations: 0.5072 MB / 0.566 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.01652, allocations: 86.91 kB / 0.5661 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.01703, allocations: 226.3 kB / 0.5663 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.01719, allocations: 247.2 kB / 0.5665 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003183/0.01751, allocations: 354.6 kB / 0.5668 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.01881, allocations: 1.395 MB / 0.5682 GB, free: 5.605 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.01882, allocations: 3.938 kB / 0.5682 GB, free: 5.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01882, allocations: 0 / 0.5682 GB, free: 5.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.01883, allocations: 0 / 0.5682 GB, free: 5.602 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007407/0.02624, allocations: 2.295 MB / 0.5705 GB, free: 4.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.02628, allocations: 9 kB / 0.5705 GB, free: 4.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005081/0.03137, allocations: 0.7691 MB / 0.5712 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.03265, allocations: 0.6429 MB / 0.5718 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/0.03292, allocations: 297.4 kB / 0.5721 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.03306, allocations: 67.56 kB / 0.5722 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.03511, allocations: 0.9437 MB / 0.5731 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.03513, allocations: 0 / 0.5731 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/0.03521, allocations: 25.62 kB / 0.5731 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.03523, allocations: 19.34 kB / 0.5732 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.03731, allocations: 0.9598 MB / 0.5741 GB, free: 2.035 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.004769/0.04208, allocations: 2.254 MB / 0.5763 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.04387, allocations: 0.772 MB / 0.577 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.04535, allocations: 0.6279 MB / 0.5777 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-05/0.04544, allocations: 8.656 kB / 0.5777 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.04548, allocations: 43.16 kB / 0.5777 GB, free: 15.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 4.238e-06/0.04548, allocations: 0 / 0.5777 GB, free: 15.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.02889/0.07437, allocations: 6.596 MB / 0.5842 GB, free: 8.559 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.07444, allocations: 64.06 kB / 0.5842 GB, free: 8.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.07565, allocations: 0.7749 MB / 0.585 GB, free: 7.691 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.07585, allocations: 45.7 kB / 0.585 GB, free: 7.641 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.07621, allocations: 437 kB / 0.5854 GB, free: 7.207 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003496/0.07656, allocations: 293.4 kB / 0.5857 GB, free: 6.918 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003657/0.07692, allocations: 170.6 kB / 0.5859 GB, free: 6.746 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.07709, allocations: 349.9 kB / 0.5862 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.07862, allocations: 0.6305 MB / 0.5868 GB, free: 5.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.08023, allocations: 0.7531 MB / 0.5876 GB, free: 4.984 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01915/0.09939, allocations: 4.547 MB / 0.592 GB, free: 416 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.09939, allocations: 4 kB / 0.592 GB, free: 412 kB / 446.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0144/0.1138, allocations: 4.013 MB / 0.5959 GB, free: 12.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.1138, allocations: 11.94 kB / 0.5959 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.1138, allocations: 4 kB / 0.5959 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006855/0.1207, allocations: 1.855 MB / 0.5977 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009474/0.1217, allocations: 155.8 kB / 0.5979 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02442/0.1461, allocations: 8.781 MB / 0.6065 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.1482, allocations: 155.2 kB / 0.6066 GB, free: 1.309 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003083/0.1486, allocations: 35.98 kB / 0.6067 GB, free: 1.273 MB / 462.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order21.delta:VARIABLE(flow=false start = order21.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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 {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0008719/0.1494, allocations: 222.1 kB / 0.6069 GB, free: 1.047 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004727/0.1499, allocations: 103.3 kB / 0.607 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/0.1643, allocations: 3.786 MB / 0.6107 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.753e-05/0.1643, allocations: 8 kB / 0.6107 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1643, allocations: 0 / 0.6107 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/0.1644, allocations: 7.922 kB / 0.6107 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.1813, allocations: 4.622 MB / 0.6152 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.1813, allocations: 0 / 0.6152 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007143/0.182, allocations: 91.89 kB / 0.6153 GB, free: 8.367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00701/0.189, allocations: 1.734 MB / 0.617 GB, free: 6.629 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/0.1892, allocations: 20 kB / 0.617 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02131/0.2105, allocations: 7.756 MB / 0.6246 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2105, allocations: 0 / 0.6246 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/0.2272, allocations: 4.654 MB / 0.6291 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.2276, allocations: 115.2 kB / 0.6292 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/0.2279, allocations: 20.06 kB / 0.6292 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.2291, allocations: 83.89 kB / 0.6293 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007972/0.2299, allocations: 208.6 kB / 0.6295 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.795e-05/0.23, allocations: 19.94 kB / 0.6295 GB, free: 9.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008786/0.2309, allocations: 0.5224 MB / 0.63 GB, free: 9.105 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2309, allocations: 4 kB / 0.63 GB, free: 9.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001684/0.2326, allocations: 403.7 kB / 0.6304 GB, free: 8.707 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003985/0.233, allocations: 131 kB / 0.6306 GB, free: 8.574 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00712/0.2401, allocations: 2.192 MB / 0.6327 GB, free: 6.367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2401, allocations: 0 / 0.6327 GB, free: 6.367 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005085/0.2452, allocations: 1.429 MB / 0.6341 GB, free: 4.934 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.2462, allocations: 83.23 kB / 0.6342 GB, free: 4.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.2498, allocations: 1.643 MB / 0.6358 GB, free: 3.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.2503, allocations: 441.8 kB / 0.6362 GB, free: 2.715 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002896/0.2506, allocations: 78.02 kB / 0.6363 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.2508, allocations: 56.5 kB / 0.6363 GB, free: 2.578 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2508, allocations: 0 / 0.6363 GB, free: 2.578 MB / 494.1 MB Notification: Performance of Templates: time 0.03885/0.2897, allocations: 23.26 MB / 0.659 GB, free: 11.34 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.539252858608961] Failed to read output from testmodel.py, exit status != 0: 0.29900042340159416 0.314872158 0.292887412 Calling exit ...