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.0009137/0.0009137, allocations: 180.4 kB / 15.45 MB, free: 6.234 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.258/1.258, allocations: 223.3 MB / 239.5 MB, free: 1.617 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007612/0.0007611, allocations: 104 kB / 290.7 MB, free: 13.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4354/0.4354, allocations: 78.61 MB / 420.4 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.000336, allocations: 8 kB / 0.4888 GB, free: 2.547 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3356, allocations: 69.33 MB / 0.5565 GB, free: 39 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005776/0.3414, allocations: 6.241 MB / 0.5626 GB, free: 36.26 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003982/0.3454, allocations: 1.891 MB / 0.5644 GB, free: 35.47 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007712/0.3462, allocations: 16.41 kB / 0.5645 GB, free: 35.47 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.3467, allocations: 166.5 kB / 0.5646 GB, free: 35.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.3483, allocations: 0.6331 MB / 0.5652 GB, free: 35.1 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.3496, allocations: 0.5602 MB / 0.5658 GB, free: 34.99 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.3511, allocations: 1.328 MB / 0.5671 GB, free: 34.57 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004003/0.3515, allocations: 296.1 kB / 0.5674 GB, free: 34.42 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006331/0.3522, allocations: 0.516 MB / 0.5679 GB, free: 34.18 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.3528, allocations: 0.6531 MB / 0.5685 GB, free: 33.88 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.3529, allocations: 52.81 kB / 0.5686 GB, free: 33.88 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.3534, allocations: 185.6 kB / 0.5687 GB, free: 33.83 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3535, allocations: 221.8 kB / 0.5689 GB, free: 33.7 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.3539, allocations: 0.5793 MB / 0.5695 GB, free: 33.3 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.355, allocations: 1.417 MB / 0.5709 GB, free: 32.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.355, allocations: 0 / 0.5709 GB, free: 32.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.355, allocations: 0 / 0.5709 GB, free: 32.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.355, allocations: 0 / 0.5709 GB, free: 32.75 MB / 426.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.006333/0.3613, allocations: 2.374 MB / 0.5732 GB, free: 31.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3614, allocations: 7.875 kB / 0.5732 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00465/0.366, allocations: 0.7852 MB / 0.574 GB, free: 31.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/0.367, allocations: 0.7661 MB / 0.5747 GB, free: 31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.3673, allocations: 274.8 kB / 0.575 GB, free: 30.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.3674, allocations: 75.22 kB / 0.5751 GB, free: 30.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.3694, allocations: 1.164 MB / 0.5762 GB, free: 30.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.3694, allocations: 3.938 kB / 0.5762 GB, free: 30.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/0.3695, allocations: 29.53 kB / 0.5762 GB, free: 30.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.3695, allocations: 20.09 kB / 0.5763 GB, free: 30.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.3718, allocations: 1.241 MB / 0.5775 GB, free: 29.97 MB / 426.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.004892/0.3767, allocations: 3.502 MB / 0.5809 GB, free: 28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.3786, allocations: 1.503 MB / 0.5823 GB, free: 27.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.3801, allocations: 0.8731 MB / 0.5832 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.3802, allocations: 9.5 kB / 0.5832 GB, free: 26.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.3802, allocations: 45.22 kB / 0.5833 GB, free: 26.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 2.765e-06/0.3802, allocations: 0 / 0.5833 GB, free: 26.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.02466/0.4049, allocations: 8.366 MB / 0.5914 GB, free: 25.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.405, allocations: 65.34 kB / 0.5915 GB, free: 25.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.4061, allocations: 0.8822 MB / 0.5923 GB, free: 24.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000213/0.4064, allocations: 41.36 kB / 0.5924 GB, free: 24.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.4066, allocations: 499 kB / 0.5929 GB, free: 24.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.4069, allocations: 343.3 kB / 0.5932 GB, free: 24.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.4071, allocations: 105.9 kB / 0.5933 GB, free: 24.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.4071, allocations: 345 kB / 0.5936 GB, free: 23.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.4087, allocations: 0.8051 MB / 0.5944 GB, free: 23.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.4104, allocations: 0.9309 MB / 0.5953 GB, free: 23.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01835/0.4288, allocations: 5.35 MB / 0.6005 GB, free: 21.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.4289, allocations: 0.9688 kB / 0.6005 GB, free: 21.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01534/0.4442, allocations: 5.202 MB / 0.6056 GB, free: 20.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.4443, allocations: 7.906 kB / 0.6056 GB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.4443, allocations: 3.391 kB / 0.6056 GB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006515/0.4508, allocations: 2.169 MB / 0.6078 GB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.4519, allocations: 224 kB / 0.608 GB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/0.4702, allocations: 9.349 MB / 0.6171 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.4716, allocations: 226.9 kB / 0.6173 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.4718, allocations: 43.92 kB / 0.6174 GB, free: 11.42 MB / 426.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 (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.0004893/0.4723, allocations: 231 kB / 0.6176 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.4726, allocations: 122.4 kB / 0.6177 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.4846, allocations: 4.951 MB / 0.6225 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.4846, allocations: 16 kB / 0.6225 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4846, allocations: 0 / 0.6225 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.4847, allocations: 7.969 kB / 0.6225 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.4983, allocations: 6.567 MB / 0.629 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4983, allocations: 0 / 0.629 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.499, allocations: 147.7 kB / 0.6291 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005633/0.5046, allocations: 2.058 MB / 0.6311 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.442e-05/0.5047, allocations: 23.98 kB / 0.6311 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01658/0.5213, allocations: 8.213 MB / 0.6392 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5214, allocations: 7.938 kB / 0.6392 GB, free: 4.777 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/0.5362, allocations: 5.993 MB / 0.645 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.5366, allocations: 203.4 kB / 0.6452 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.5368, allocations: 20 kB / 0.6452 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.5378, allocations: 155.9 kB / 0.6454 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006614/0.5385, allocations: 212.6 kB / 0.6456 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.356e-05/0.5386, allocations: 20 kB / 0.6456 GB, free: 14.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007696/0.5394, allocations: 0.5927 MB / 0.6462 GB, free: 13.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5394, allocations: 0 / 0.6462 GB, free: 13.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001353/0.5407, allocations: 439.4 kB / 0.6466 GB, free: 13.11 MB / 458.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 (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.0002656/0.541, allocations: 131.1 kB / 0.6467 GB, free: 12.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006546/0.5476, allocations: 2.767 MB / 0.6494 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5476, allocations: 0 / 0.6494 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004493/0.5521, allocations: 1.801 MB / 0.6512 GB, free: 8.383 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/0.5528, allocations: 93.2 kB / 0.6513 GB, free: 8.293 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.5562, allocations: 2.393 MB / 0.6536 GB, free: 5.867 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.5568, allocations: 1.088 MB / 0.6547 GB, free: 4.754 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000334/0.5572, allocations: 90.62 kB / 0.6548 GB, free: 4.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.5574, allocations: 55.42 kB / 0.6548 GB, free: 4.609 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5574, allocations: 0 / 0.6548 GB, free: 4.609 MB / 458.7 MB Notification: Performance of Templates: time 0.02995/0.5874, allocations: 20.39 MB / 0.6747 GB, free: 256 kB / 474.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)