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.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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004988/0.004988, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.313/1.313, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001334/0.001334, allocations: 192.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4449/0.4449, allocations: 78.53 MB / 418.4 MB, free: 3.172 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 79.88 kB / 0.5531 GB, free: 1.461 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3289, allocations: 68.17 MB / 0.6197 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004598/0.3335, allocations: 5.674 MB / 0.6253 GB, free: 4.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.3359, allocations: 1.724 MB / 0.6269 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003266/0.3363, allocations: 15.94 kB / 0.627 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.3367, allocations: 198.3 kB / 0.6271 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.3379, allocations: 0.7333 MB / 0.6279 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009188/0.3389, allocations: 0.5579 MB / 0.6284 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008451/0.3397, allocations: 1.222 MB / 0.6296 GB, free: 16 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003931/0.3401, allocations: 285.4 kB / 0.6299 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005864/0.3407, allocations: 0.5173 MB / 0.6304 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006249/0.3413, allocations: 0.6339 MB / 0.631 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.3415, allocations: 88 kB / 0.6311 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.3419, allocations: 211.9 kB / 0.6313 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.3421, allocations: 250.9 kB / 0.6315 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.3425, allocations: 0.5359 MB / 0.632 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.3437, allocations: 1.331 MB / 0.6333 GB, free: 12.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3437, allocations: 0 / 0.6333 GB, free: 12.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3438, allocations: 3.938 kB / 0.6333 GB, free: 12.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.3438, allocations: 0 / 0.6333 GB, free: 12.14 MB / 446.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.006987/0.3508, allocations: 2.337 MB / 0.6356 GB, free: 9.754 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3508, allocations: 12.02 kB / 0.6356 GB, free: 9.742 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.351, allocations: 114.5 kB / 0.6358 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004764/0.3557, allocations: 0.7557 MB / 0.6365 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.3569, allocations: 0.7049 MB / 0.6372 GB, free: 8.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/0.3572, allocations: 255.4 kB / 0.6374 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.3573, allocations: 64 kB / 0.6375 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.3592, allocations: 0.9511 MB / 0.6384 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3592, allocations: 0 / 0.6384 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.987e-05/0.3593, allocations: 24 kB / 0.6384 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.3593, allocations: 16 kB / 0.6384 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.3613, allocations: 0.9655 MB / 0.6394 GB, free: 5.801 MB / 446.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.004818/0.3661, allocations: 3.135 MB / 0.6425 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.368, allocations: 1.313 MB / 0.6437 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.3693, allocations: 0.6983 MB / 0.6444 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.3695, allocations: 8.656 kB / 0.6444 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3695, allocations: 43.22 kB / 0.6445 GB, free: 324 kB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.495e-06/0.3695, allocations: 0 / 0.6445 GB, free: 324 kB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.02525/0.3948, allocations: 6.7 MB / 0.651 GB, free: 9.582 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.3948, allocations: 64 kB / 0.6511 GB, free: 9.504 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000934/0.3958, allocations: 0.7827 MB / 0.6518 GB, free: 8.715 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.3959, allocations: 41.7 kB / 0.6519 GB, free: 8.668 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.3962, allocations: 428.5 kB / 0.6523 GB, free: 8.242 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.3964, allocations: 295.8 kB / 0.6526 GB, free: 7.949 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003429/0.3968, allocations: 174.5 kB / 0.6527 GB, free: 7.773 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3969, allocations: 345.9 kB / 0.6531 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.3982, allocations: 0.6425 MB / 0.6537 GB, free: 6.789 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.3996, allocations: 0.7588 MB / 0.6544 GB, free: 5.996 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01678/0.4164, allocations: 4.453 MB / 0.6588 GB, free: 1.512 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4164, allocations: 0 / 0.6588 GB, free: 1.512 MB / 462.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01239/0.4288, allocations: 4.043 MB / 0.6627 GB, free: 13.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.4289, allocations: 11.98 kB / 0.6627 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.4289, allocations: 4 kB / 0.6627 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006183/0.4351, allocations: 1.858 MB / 0.6646 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.4359, allocations: 159.8 kB / 0.6647 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/0.4573, allocations: 9.098 MB / 0.6736 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.4587, allocations: 155 kB / 0.6737 GB, free: 2.016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.4589, allocations: 35.98 kB / 0.6738 GB, free: 1.98 MB / 478.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 (92): * Single equations (assignments): 91 * 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.0003991/0.4593, allocations: 221.7 kB / 0.674 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.4595, allocations: 102.8 kB / 0.6741 GB, free: 1.652 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/0.472, allocations: 3.825 MB / 0.6778 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.472, allocations: 8 kB / 0.6778 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.472, allocations: 0 / 0.6778 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.472, allocations: 3.984 kB / 0.6778 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/0.4863, allocations: 5.321 MB / 0.683 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.4863, allocations: 0 / 0.683 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.4868, allocations: 99.81 kB / 0.6831 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005842/0.4927, allocations: 1.741 MB / 0.6848 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-05/0.4928, allocations: 12 kB / 0.6848 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/0.5105, allocations: 8.068 MB / 0.6927 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5106, allocations: 4 kB / 0.6927 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/0.5244, allocations: 4.681 MB / 0.6973 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.5247, allocations: 199.6 kB / 0.6975 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.5249, allocations: 12 kB / 0.6975 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008551/0.5257, allocations: 87.89 kB / 0.6976 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006428/0.5264, allocations: 204.7 kB / 0.6978 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.5265, allocations: 27.98 kB / 0.6978 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007024/0.5272, allocations: 0.5303 MB / 0.6983 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5272, allocations: 0 / 0.6983 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001195/0.5284, allocations: 399.6 kB / 0.6987 GB, free: 8.102 MB / 0.4981 GB 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.01433/0.5427, allocations: 5.26 MB / 0.7038 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006179/0.5489, allocations: 2.299 MB / 0.7061 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.549, allocations: 0 / 0.7061 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00437/0.5534, allocations: 1.5 MB / 0.7075 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007268/0.5541, allocations: 75.3 kB / 0.7076 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03507/0.5892, allocations: 13.97 MB / 0.7213 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007968/0.5901, allocations: 1.021 MB / 0.7223 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004401/0.5905, allocations: 82.17 kB / 0.7223 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/0.591, allocations: 379.3 kB / 0.7227 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of SimCode: time 1.482e-06/0.5911, allocations: 0 / 0.7227 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06116/0.6522, allocations: 30.59 MB / 0.7526 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.68, allocations: 11.88 kB / 0.7526 GB, free: 0.75 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)