Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00568/0.00568, allocations: 170.7 kB / 15.12 MB, free: 5.559 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.277/1.277, allocations: 223.2 MB / 239 MB, free: 0 / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009673, allocations: 91.03 kB / 290.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4564/0.4564, allocations: 78.58 MB / 419.9 MB, free: 36.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003846, allocations: 12 kB / 499.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 69.37 MB / 0.5558 GB, free: 1.879 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005549/0.154, allocations: 5.561 MB / 0.5612 GB, free: 12.29 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.1579, allocations: 1.842 MB / 0.563 GB, free: 10.45 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006244/0.1586, allocations: 12 kB / 0.563 GB, free: 10.43 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.159, allocations: 154.8 kB / 0.5632 GB, free: 10.28 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.1606, allocations: 0.6424 MB / 0.5638 GB, free: 9.637 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.1617, allocations: 0.5206 MB / 0.5643 GB, free: 9.125 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.1629, allocations: 0.9052 MB / 0.5652 GB, free: 8.219 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.1633, allocations: 265.7 kB / 0.5654 GB, free: 7.945 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005468/0.1639, allocations: 0.4941 MB / 0.5659 GB, free: 7.449 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006195/0.1645, allocations: 0.6183 MB / 0.5665 GB, free: 6.828 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.937e-05/0.1646, allocations: 52 kB / 0.5666 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000364/0.165, allocations: 163.8 kB / 0.5667 GB, free: 6.617 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.1652, allocations: 215 kB / 0.5669 GB, free: 6.406 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1653, allocations: 221 kB / 0.5672 GB, free: 6.184 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000985/0.1663, allocations: 1.044 MB / 0.5682 GB, free: 5.137 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1664, allocations: 4 kB / 0.5682 GB, free: 5.133 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1664, allocations: 0 / 0.5682 GB, free: 5.133 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.1664, allocations: 0 / 0.5682 GB, free: 5.133 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007494/0.1739, allocations: 2.38 MB / 0.5705 GB, free: 2.699 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1739, allocations: 8.031 kB / 0.5705 GB, free: 2.691 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004802/0.1787, allocations: 0.7943 MB / 0.5713 GB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.1801, allocations: 0.7185 MB / 0.572 GB, free: 1.121 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.1804, allocations: 272.2 kB / 0.5722 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.1805, allocations: 79.98 kB / 0.5723 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2418/0.4223, allocations: 1.147 MB / 0.5734 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.4224, allocations: 0 / 0.5734 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.4225, allocations: 30.06 kB / 0.5735 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.4225, allocations: 21.2 kB / 0.5735 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.4252, allocations: 1.231 MB / 0.5747 GB, free: 44.01 MB / 442.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.005512/0.4307, allocations: 3.605 MB / 0.5782 GB, free: 43.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.4327, allocations: 1.497 MB / 0.5797 GB, free: 42.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.794e-05/0.4329, allocations: 12.77 kB / 0.5797 GB, free: 42.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.4329, allocations: 48.25 kB / 0.5797 GB, free: 42.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.555e-06/0.4329, allocations: 0 / 0.5797 GB, free: 42.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.02922/0.4621, allocations: 8.324 MB / 0.5879 GB, free: 41.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.4622, allocations: 67.19 kB / 0.5879 GB, free: 41.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.4635, allocations: 0.8754 MB / 0.5888 GB, free: 41.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.4637, allocations: 40.83 kB / 0.5888 GB, free: 41.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.464, allocations: 494.9 kB / 0.5893 GB, free: 41.47 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003513/0.4644, allocations: 348.5 kB / 0.5896 GB, free: 41.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.4645, allocations: 22.22 kB / 0.5896 GB, free: 41.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.989e-05/0.4646, allocations: 349.9 kB / 0.59 GB, free: 40.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.4663, allocations: 0.796 MB / 0.5908 GB, free: 40.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.4683, allocations: 0.9211 MB / 0.5917 GB, free: 40.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.4701, allocations: 0.8603 MB / 0.5925 GB, free: 40.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.4701, allocations: 0 / 0.5925 GB, free: 40.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01474/0.4848, allocations: 5.15 MB / 0.5975 GB, free: 39.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.4849, allocations: 3.406 kB / 0.5975 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.4849, allocations: 4.438 kB / 0.5975 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006459/0.4914, allocations: 2.183 MB / 0.5997 GB, free: 39.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.4925, allocations: 212.9 kB / 0.5999 GB, free: 39.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02236/0.5149, allocations: 9.793 MB / 0.6094 GB, free: 35.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.5165, allocations: 218.4 kB / 0.6096 GB, free: 35.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.5166, allocations: 39.34 kB / 0.6097 GB, free: 35.02 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005982/0.5172, allocations: 250.4 kB / 0.6099 GB, free: 34.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.5175, allocations: 118.8 kB / 0.61 GB, free: 34.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/0.5324, allocations: 4.935 MB / 0.6149 GB, free: 33.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/0.5325, allocations: 14.19 kB / 0.6149 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.5325, allocations: 2.938 kB / 0.6149 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.663e-05/0.5325, allocations: 3.328 kB / 0.6149 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/0.5504, allocations: 6.561 MB / 0.6213 GB, free: 31.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/0.5504, allocations: 0 / 0.6213 GB, free: 31.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.5513, allocations: 139 kB / 0.6214 GB, free: 31.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006631/0.5579, allocations: 2.055 MB / 0.6234 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002198/0.5582, allocations: 18.56 kB / 0.6234 GB, free: 31.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01903/0.5772, allocations: 8.659 MB / 0.6319 GB, free: 26.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5773, allocations: 0.9375 kB / 0.6319 GB, free: 26.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/0.5931, allocations: 5.984 MB / 0.6377 GB, free: 20.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.5935, allocations: 203.5 kB / 0.6379 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.5937, allocations: 16.94 kB / 0.6379 GB, free: 20.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.5948, allocations: 159.9 kB / 0.6381 GB, free: 20.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006806/0.5955, allocations: 216.6 kB / 0.6383 GB, free: 19.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.5955, allocations: 24 kB / 0.6383 GB, free: 19.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000686/0.5962, allocations: 0.5848 MB / 0.6389 GB, free: 19.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5962, allocations: 0 / 0.6389 GB, free: 19.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001337/0.5976, allocations: 438.1 kB / 0.6393 GB, free: 18.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002547/0.5978, allocations: 123.1 kB / 0.6394 GB, free: 18.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006625/0.6045, allocations: 2.755 MB / 0.6421 GB, free: 15.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6045, allocations: 4 kB / 0.6421 GB, free: 15.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004756/0.6093, allocations: 1.793 MB / 0.6439 GB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.61, allocations: 77.39 kB / 0.644 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.6131, allocations: 2.317 MB / 0.6462 GB, free: 11.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.6135, allocations: 1.108 MB / 0.6473 GB, free: 10.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003491/0.6139, allocations: 84.48 kB / 0.6474 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.6141, allocations: 55.42 kB / 0.6474 GB, free: 10.4 MB / 442.7 MB Notification: Performance of SimCode: time 9.91e-07/0.6141, allocations: 0 / 0.6474 GB, free: 10.4 MB / 442.7 MB Notification: Performance of Templates: time 0.02874/0.6428, allocations: 19.79 MB / 0.6668 GB, free: 6.793 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)