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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 105.3 kB / 16.29 MB, free: 6.43 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.305/1.305, allocations: 222.9 MB / 239.9 MB, free: 4.645 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.001271/0.001271, allocations: 200.4 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.462/0.462, allocations: 78.52 MB / 418.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 71.89 kB / 498.2 MB, free: 6.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1551, allocations: 68.17 MB / 0.5531 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2207/0.3758, allocations: 6.434 MB / 0.5593 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.3795, allocations: 1.857 MB / 0.5612 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006565/0.3802, allocations: 11.12 kB / 0.5612 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.3808, allocations: 225.8 kB / 0.5614 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.3824, allocations: 0.7171 MB / 0.5621 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3836, allocations: 0.6096 MB / 0.5627 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.3847, allocations: 1.411 MB / 0.5641 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.3851, allocations: 324.3 kB / 0.5644 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005431/0.3857, allocations: 0.593 MB / 0.5649 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.3862, allocations: 0.7253 MB / 0.5656 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.3864, allocations: 101 kB / 0.5657 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.3868, allocations: 241.8 kB / 0.566 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.387, allocations: 282.7 kB / 0.5662 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.3874, allocations: 0.625 MB / 0.5669 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.3885, allocations: 1.53 MB / 0.5683 GB, free: 34.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3885, allocations: 0.6875 kB / 0.5683 GB, free: 34.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.3885, allocations: 0 / 0.5683 GB, free: 34.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.3885, allocations: 1.25 kB / 0.5683 GB, free: 34.01 MB / 430.1 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.007192/0.3957, allocations: 2.561 MB / 0.5709 GB, free: 33.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3958, allocations: 12 kB / 0.5709 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.4004, allocations: 0.7801 MB / 0.5716 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009655/0.4014, allocations: 0.7678 MB / 0.5724 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.4016, allocations: 258.3 kB / 0.5726 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.4017, allocations: 75.66 kB / 0.5727 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.4037, allocations: 1.075 MB / 0.5737 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.4037, allocations: 10.62 kB / 0.5738 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/0.4038, allocations: 34.75 kB / 0.5738 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.4038, allocations: 18.06 kB / 0.5738 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.406, allocations: 1.122 MB / 0.5749 GB, free: 32.34 MB / 430.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.004794/0.4108, allocations: 3.444 MB / 0.5783 GB, free: 31.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.4126, allocations: 1.427 MB / 0.5797 GB, free: 30.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.4139, allocations: 0.7805 MB / 0.5804 GB, free: 30 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.072e-05/0.414, allocations: 14.75 kB / 0.5804 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.4141, allocations: 42.66 kB / 0.5805 GB, free: 29.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.194e-06/0.4141, allocations: 0 / 0.5805 GB, free: 29.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02403/0.4381, allocations: 6.608 MB / 0.5869 GB, free: 28.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.4382, allocations: 61.41 kB / 0.587 GB, free: 28.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.4394, allocations: 0.9021 MB / 0.5879 GB, free: 28.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.4396, allocations: 42.14 kB / 0.5879 GB, free: 28.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.4398, allocations: 0.4922 MB / 0.5884 GB, free: 27.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.4401, allocations: 352.2 kB / 0.5887 GB, free: 27.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/0.4405, allocations: 198.9 kB / 0.5889 GB, free: 27.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.4406, allocations: 351 kB / 0.5892 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.4422, allocations: 0.7162 MB / 0.5899 GB, free: 26.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.444, allocations: 0.8519 MB / 0.5908 GB, free: 26.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01912/0.4631, allocations: 4.828 MB / 0.5955 GB, free: 25.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.4632, allocations: 0 / 0.5955 GB, free: 25.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01413/0.4773, allocations: 4.27 MB / 0.5997 GB, free: 24.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.4773, allocations: 6.672 kB / 0.5997 GB, free: 24.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.4774, allocations: 9.969 kB / 0.5997 GB, free: 24.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006317/0.4837, allocations: 1.809 MB / 0.6014 GB, free: 23.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.4848, allocations: 208.1 kB / 0.6016 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01989/0.5047, allocations: 9.318 MB / 0.6107 GB, free: 18.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.5063, allocations: 178.6 kB / 0.6109 GB, free: 18.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.5065, allocations: 39.48 kB / 0.611 GB, free: 18.78 MB / 430.1 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.0004436/0.5069, allocations: 250.8 kB / 0.6112 GB, free: 18.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.5071, allocations: 120.2 kB / 0.6113 GB, free: 18.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.5189, allocations: 4.016 MB / 0.6152 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.5189, allocations: 8 kB / 0.6152 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5189, allocations: 0 / 0.6152 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.519, allocations: 3.984 kB / 0.6152 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.5319, allocations: 5.619 MB / 0.6207 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.532, allocations: 0 / 0.6207 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/0.5326, allocations: 132.8 kB / 0.6209 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005105/0.5378, allocations: 1.745 MB / 0.6226 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.5379, allocations: 16 kB / 0.6226 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01534/0.5532, allocations: 8.066 MB / 0.6304 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5533, allocations: 4 kB / 0.6305 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/0.5678, allocations: 4.958 MB / 0.6353 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.5682, allocations: 208.3 kB / 0.6355 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.5684, allocations: 23.88 kB / 0.6355 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.5694, allocations: 107.8 kB / 0.6356 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006644/0.5701, allocations: 225.8 kB / 0.6358 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.524e-05/0.5702, allocations: 25.88 kB / 0.6359 GB, free: 9.703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007285/0.5709, allocations: 0.6008 MB / 0.6364 GB, free: 9.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5709, allocations: 0 / 0.6364 GB, free: 9.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001255/0.5722, allocations: 439.4 kB / 0.6369 GB, free: 8.664 MB / 446.1 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.0002416/0.5724, allocations: 123.7 kB / 0.637 GB, free: 8.527 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006844/0.5793, allocations: 2.497 MB / 0.6394 GB, free: 6.023 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5793, allocations: 0 / 0.6394 GB, free: 6.023 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004628/0.584, allocations: 1.604 MB / 0.641 GB, free: 4.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.5847, allocations: 86.61 kB / 0.6411 GB, free: 4.328 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.5884, allocations: 2.007 MB / 0.643 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.589, allocations: 1.095 MB / 0.6441 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003064/0.5893, allocations: 91.36 kB / 0.6442 GB, free: 1.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.5895, allocations: 63.42 kB / 0.6442 GB, free: 1.047 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5895, allocations: 0 / 0.6442 GB, free: 1.047 MB / 446.1 MB Notification: Performance of Templates: time 0.03396/0.6235, allocations: 23.71 MB / 0.6674 GB, free: 9.555 MB / 478.1 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)