Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 222.9 MB / 239.7 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009847/0.0009847, allocations: 100.2 kB / 289.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4268/0.4268, allocations: 78.51 MB / 418.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 75.86 kB / 497.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2888, allocations: 68.17 MB / 0.5524 GB, free: 19.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.004908/0.2937, allocations: 6.772 MB / 0.559 GB, free: 13.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.2963, allocations: 1.911 MB / 0.5609 GB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004596/0.2968, allocations: 19.88 kB / 0.5609 GB, free: 11.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.2972, allocations: 158.9 kB / 0.5611 GB, free: 10.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.2985, allocations: 0.6483 MB / 0.5617 GB, free: 10.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2996, allocations: 0.5643 MB / 0.5622 GB, free: 9.754 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009836/0.3006, allocations: 1.366 MB / 0.5636 GB, free: 8.383 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.3009, allocations: 297.2 kB / 0.5639 GB, free: 8.086 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005384/0.3015, allocations: 0.5482 MB / 0.5644 GB, free: 7.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005297/0.302, allocations: 0.6958 MB / 0.5651 GB, free: 6.836 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.3021, allocations: 72 kB / 0.5651 GB, free: 6.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.3026, allocations: 195.9 kB / 0.5653 GB, free: 6.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.3027, allocations: 246.7 kB / 0.5656 GB, free: 6.332 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.3031, allocations: 0.5939 MB / 0.5661 GB, free: 5.734 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009312/0.304, allocations: 1.458 MB / 0.5676 GB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3041, allocations: 0 / 0.5676 GB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3041, allocations: 0 / 0.5676 GB, free: 4.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3041, allocations: 0 / 0.5676 GB, free: 4.273 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007197/0.3113, allocations: 2.564 MB / 0.5701 GB, free: 1.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3113, allocations: 11.97 kB / 0.5701 GB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004417/0.3158, allocations: 0.7788 MB / 0.5708 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.3169, allocations: 0.7646 MB / 0.5716 GB, free: 44 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.3172, allocations: 264.2 kB / 0.5718 GB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.3173, allocations: 76 kB / 0.5719 GB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.3195, allocations: 1.085 MB / 0.573 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3196, allocations: 3.938 kB / 0.573 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/0.3197, allocations: 28 kB / 0.573 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.3197, allocations: 24 kB / 0.573 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.3221, allocations: 1.117 MB / 0.5741 GB, free: 13.41 MB / 394.7 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.005536/0.3277, allocations: 3.467 MB / 0.5775 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.3296, allocations: 1.432 MB / 0.5789 GB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.3311, allocations: 0.7774 MB / 0.5797 GB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.3313, allocations: 16.98 kB / 0.5797 GB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.3313, allocations: 47.56 kB / 0.5797 GB, free: 7.379 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 3.046e-06/0.3313, allocations: 4 kB / 0.5797 GB, free: 7.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.02498/0.3563, allocations: 6.613 MB / 0.5862 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.3564, allocations: 60.41 kB / 0.5862 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.3575, allocations: 0.904 MB / 0.5871 GB, free: 15.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.3576, allocations: 41.7 kB / 0.5872 GB, free: 15.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.3579, allocations: 0.489 MB / 0.5876 GB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.3583, allocations: 350.9 kB / 0.588 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003717/0.3586, allocations: 202.8 kB / 0.5882 GB, free: 14.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3588, allocations: 349.9 kB / 0.5885 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.3603, allocations: 0.7209 MB / 0.5892 GB, free: 13.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.362, allocations: 0.854 MB / 0.59 GB, free: 12.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01808/0.3801, allocations: 4.821 MB / 0.5948 GB, free: 7.832 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.3801, allocations: 4 kB / 0.5948 GB, free: 7.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01356/0.3937, allocations: 4.273 MB / 0.5989 GB, free: 3.539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.3937, allocations: 4 kB / 0.5989 GB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.3937, allocations: 7.938 kB / 0.5989 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006151/0.3999, allocations: 1.807 MB / 0.6007 GB, free: 1.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.401, allocations: 207.7 kB / 0.6009 GB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/0.4201, allocations: 8.578 MB / 0.6093 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.4215, allocations: 179 kB / 0.6095 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-05/0.4216, allocations: 39.98 kB / 0.6095 GB, free: 8.582 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004091/0.422, allocations: 241.5 kB / 0.6097 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.4222, allocations: 126.5 kB / 0.6098 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.4352, allocations: 4.002 MB / 0.6137 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.4352, allocations: 12 kB / 0.6138 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4352, allocations: 4 kB / 0.6138 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.4352, allocations: 7.922 kB / 0.6138 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.4499, allocations: 5.618 MB / 0.6193 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4499, allocations: 0 / 0.6193 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006414/0.4505, allocations: 135.8 kB / 0.6194 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005692/0.4562, allocations: 1.741 MB / 0.6211 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.646e-05/0.4563, allocations: 16 kB / 0.6211 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01676/0.4731, allocations: 7.359 MB / 0.6283 GB, free: 5.008 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4732, allocations: 3.938 kB / 0.6283 GB, free: 5.004 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09174/0.5649, allocations: 32.49 MB / 0.66 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.5652, allocations: 207.4 kB / 0.6602 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.5654, allocations: 16 kB / 0.6602 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5664, allocations: 115.8 kB / 0.6603 GB, free: 3.832 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007052/0.5671, allocations: 212.6 kB / 0.6605 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.5673, allocations: 20 kB / 0.6606 GB, free: 3.605 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007181/0.568, allocations: 0.6047 MB / 0.6612 GB, free: 2.992 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.568, allocations: 4 kB / 0.6612 GB, free: 2.988 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001721/0.5697, allocations: 0.5855 MB / 0.6617 GB, free: 2.402 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.0002746/0.57, allocations: 131.1 kB / 0.6619 GB, free: 2.266 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007065/0.5771, allocations: 2.454 MB / 0.6643 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5771, allocations: 0 / 0.6643 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005031/0.5822, allocations: 1.559 MB / 0.6658 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.5833, allocations: 100.1 kB / 0.6659 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008105/0.5915, allocations: 3.727 MB / 0.6695 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007527/0.5923, allocations: 1.142 MB / 0.6706 GB, free: 9.176 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004699/0.5928, allocations: 94.7 kB / 0.6707 GB, free: 9.078 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.593, allocations: 59.42 kB / 0.6708 GB, free: 9.02 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.593, allocations: 0 / 0.6708 GB, free: 9.02 MB / 490.7 MB Notification: Performance of Templates: time 0.2544/0.8474, allocations: 30.64 MB / 0.7007 GB, free: 106.9 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)