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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.371/1.371, allocations: 222.9 MB / 240.1 MB, free: 4.391 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.001473/0.001473, allocations: 192.5 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4535/0.4535, allocations: 78.53 MB / 419.1 MB, free: 3.125 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 80.09 kB / 0.5543 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3094, allocations: 68.17 MB / 0.6209 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004836/0.3142, allocations: 5.677 MB / 0.6264 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.317, allocations: 1.728 MB / 0.6281 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004294/0.3174, allocations: 11.94 kB / 0.6281 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.3178, allocations: 194.3 kB / 0.6283 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.3191, allocations: 0.6869 MB / 0.629 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009489/0.3201, allocations: 0.5607 MB / 0.6295 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000932/0.321, allocations: 1.229 MB / 0.6307 GB, free: 116 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.3214, allocations: 275 kB / 0.631 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006074/0.322, allocations: 0.5134 MB / 0.6315 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007198/0.3228, allocations: 0.6378 MB / 0.6321 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.3229, allocations: 84 kB / 0.6322 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.3234, allocations: 227.9 kB / 0.6324 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.3236, allocations: 234.9 kB / 0.6326 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004488/0.324, allocations: 0.5437 MB / 0.6331 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.3255, allocations: 1.337 MB / 0.6344 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3255, allocations: 0 / 0.6344 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3255, allocations: 0 / 0.6344 GB, free: 12.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.471e-05/0.3256, allocations: 0 / 0.6344 GB, free: 12.25 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.008026/0.3336, allocations: 2.325 MB / 0.6367 GB, free: 9.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3336, allocations: 8.031 kB / 0.6367 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005242/0.3389, allocations: 0.7635 MB / 0.6375 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.3402, allocations: 0.7011 MB / 0.6382 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003105/0.3406, allocations: 255.4 kB / 0.6384 GB, free: 8.062 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.3407, allocations: 71.84 kB / 0.6385 GB, free: 7.992 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.3428, allocations: 0.9434 MB / 0.6394 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3428, allocations: 3.938 kB / 0.6394 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/0.3429, allocations: 24 kB / 0.6394 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.343, allocations: 16 kB / 0.6394 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.3451, allocations: 0.9694 MB / 0.6404 GB, free: 6.031 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.005385/0.3505, allocations: 3.131 MB / 0.6434 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.3526, allocations: 1.314 MB / 0.6447 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.3541, allocations: 0.6944 MB / 0.6454 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-05/0.3542, allocations: 20.58 kB / 0.6454 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3542, allocations: 43.16 kB / 0.6455 GB, free: 0.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 3.336e-06/0.3542, allocations: 4 kB / 0.6455 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.028/0.3822, allocations: 6.7 MB / 0.652 GB, free: 9.805 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.3823, allocations: 60.06 kB / 0.6521 GB, free: 9.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.3834, allocations: 0.7865 MB / 0.6528 GB, free: 8.938 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.3836, allocations: 37.7 kB / 0.6529 GB, free: 8.895 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.3839, allocations: 428.5 kB / 0.6533 GB, free: 8.469 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.3843, allocations: 295.8 kB / 0.6536 GB, free: 8.176 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/0.3847, allocations: 174.5 kB / 0.6537 GB, free: 8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3848, allocations: 345.9 kB / 0.6541 GB, free: 7.656 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.3863, allocations: 0.6425 MB / 0.6547 GB, free: 7.016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.3879, allocations: 0.7628 MB / 0.6554 GB, free: 6.219 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0185/0.4064, allocations: 4.446 MB / 0.6598 GB, free: 1.738 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.4065, allocations: 0 / 0.6598 GB, free: 1.738 MB / 462.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01446/0.4209, allocations: 4.047 MB / 0.6637 GB, free: 13.67 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.421, allocations: 4 kB / 0.6637 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.421, allocations: 4 kB / 0.6637 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006691/0.4277, allocations: 1.858 MB / 0.6655 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/0.4286, allocations: 155.8 kB / 0.6657 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02277/0.4514, allocations: 9.103 MB / 0.6746 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4528, allocations: 155 kB / 0.6747 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.4531, allocations: 32 kB / 0.6748 GB, free: 2.215 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.0005529/0.4536, allocations: 229.6 kB / 0.675 GB, free: 1.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.4539, allocations: 102.8 kB / 0.6751 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/0.4677, allocations: 3.821 MB / 0.6788 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.4677, allocations: 11.94 kB / 0.6788 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4677, allocations: 0 / 0.6788 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.4678, allocations: 3.984 kB / 0.6788 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.4835, allocations: 5.321 MB / 0.684 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.4836, allocations: 0 / 0.684 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.4841, allocations: 91.89 kB / 0.6841 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006355/0.4905, allocations: 1.745 MB / 0.6858 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.4906, allocations: 15.98 kB / 0.6858 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/0.5108, allocations: 8.076 MB / 0.6937 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5108, allocations: 0 / 0.6937 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.5264, allocations: 4.681 MB / 0.6983 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.5267, allocations: 187.8 kB / 0.6985 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.5269, allocations: 15.94 kB / 0.6985 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.5279, allocations: 91.89 kB / 0.6986 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005765/0.5285, allocations: 196.7 kB / 0.6988 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/0.5286, allocations: 20 kB / 0.6988 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006899/0.5293, allocations: 0.5341 MB / 0.6993 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5293, allocations: 0 / 0.6993 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001177/0.5305, allocations: 407.5 kB / 0.6997 GB, free: 8.332 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.0002419/0.5307, allocations: 119.2 kB / 0.6998 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006783/0.5375, allocations: 2.302 MB / 0.702 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5375, allocations: 0 / 0.702 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004904/0.5424, allocations: 1.504 MB / 0.7035 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/0.5431, allocations: 71.31 kB / 0.7036 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.5462, allocations: 1.69 MB / 0.7052 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/0.5468, allocations: 1.029 MB / 0.7062 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.5471, allocations: 59.42 kB / 0.7063 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.5471, allocations: 3.938 kB / 0.7063 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of Templates: time 0.02331/0.5704, allocations: 17.67 MB / 0.7236 GB, free: 15.77 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (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)