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.001429/0.001429, allocations: 115 kB / 16.37 MB, free: 6.016 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.443/1.443, allocations: 222.9 MB / 240 MB, free: 4.402 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.001408/0.001408, allocations: 196.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4556/0.4556, allocations: 78.53 MB / 419 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 79.88 kB / 498.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1372, allocations: 68.17 MB / 0.5538 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2192/0.3565, allocations: 6.438 MB / 0.5601 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003349/0.3599, allocations: 1.857 MB / 0.5619 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008989/0.3608, allocations: 11.56 kB / 0.5619 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007463/0.3616, allocations: 231.2 kB / 0.5621 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.3635, allocations: 0.7059 MB / 0.5628 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.3647, allocations: 0.6136 MB / 0.5634 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.366, allocations: 1.423 MB / 0.5648 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004145/0.3664, allocations: 326 kB / 0.5651 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005673/0.367, allocations: 0.5897 MB / 0.5657 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005857/0.3676, allocations: 0.7308 MB / 0.5664 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.3677, allocations: 102.3 kB / 0.5665 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.3682, allocations: 239.3 kB / 0.5667 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.3684, allocations: 282 kB / 0.567 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003744/0.3687, allocations: 0.6272 MB / 0.5676 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.3698, allocations: 1.522 MB / 0.5691 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3699, allocations: 3.938 kB / 0.5691 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3699, allocations: 1.031 kB / 0.5691 GB, free: 33.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.3699, allocations: 0 / 0.5691 GB, free: 33.6 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.007216/0.3771, allocations: 2.563 MB / 0.5716 GB, free: 32.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3772, allocations: 8.688 kB / 0.5716 GB, free: 32.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/0.3818, allocations: 0.774 MB / 0.5724 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.3831, allocations: 0.7752 MB / 0.5731 GB, free: 32.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.3833, allocations: 263.9 kB / 0.5734 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.3835, allocations: 77.31 kB / 0.5734 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.3854, allocations: 1.077 MB / 0.5745 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3854, allocations: 7.219 kB / 0.5745 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.3855, allocations: 31.31 kB / 0.5745 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.3855, allocations: 18.38 kB / 0.5745 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.3877, allocations: 1.129 MB / 0.5756 GB, free: 31.93 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.004875/0.3926, allocations: 3.438 MB / 0.579 GB, free: 30.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.3944, allocations: 1.42 MB / 0.5804 GB, free: 29.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.3957, allocations: 0.787 MB / 0.5812 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.3958, allocations: 14.55 kB / 0.5812 GB, free: 29.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.3959, allocations: 50.78 kB / 0.5812 GB, free: 29.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.815e-06/0.3959, allocations: 0 / 0.5812 GB, free: 29.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02359/0.4195, allocations: 6.597 MB / 0.5877 GB, free: 28.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.4196, allocations: 70.36 kB / 0.5877 GB, free: 28.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.4208, allocations: 0.9011 MB / 0.5886 GB, free: 27.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.4209, allocations: 41.14 kB / 0.5886 GB, free: 27.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.4212, allocations: 0.4908 MB / 0.5891 GB, free: 27.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.4215, allocations: 351 kB / 0.5895 GB, free: 27.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003941/0.4219, allocations: 197.8 kB / 0.5897 GB, free: 27.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.422, allocations: 349 kB / 0.59 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.4236, allocations: 0.7252 MB / 0.5907 GB, free: 26.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.4253, allocations: 0.8461 MB / 0.5915 GB, free: 26.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01835/0.4437, allocations: 4.835 MB / 0.5962 GB, free: 24.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.4438, allocations: 2.062 kB / 0.5962 GB, free: 24.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01368/0.4574, allocations: 4.27 MB / 0.6004 GB, free: 23.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.4575, allocations: 5.5 kB / 0.6004 GB, free: 23.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.4575, allocations: 6.219 kB / 0.6004 GB, free: 23.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0061/0.4636, allocations: 1.813 MB / 0.6022 GB, free: 23.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.4648, allocations: 209.8 kB / 0.6024 GB, free: 23.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/0.4849, allocations: 9.313 MB / 0.6115 GB, free: 18.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.4865, allocations: 181.6 kB / 0.6117 GB, free: 18.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.4867, allocations: 41.2 kB / 0.6117 GB, free: 18.35 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.0004726/0.4872, allocations: 244.8 kB / 0.6119 GB, free: 18.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.4874, allocations: 120.1 kB / 0.612 GB, free: 18.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/0.4984, allocations: 4.013 MB / 0.616 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.4984, allocations: 13.88 kB / 0.616 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4984, allocations: 0.75 kB / 0.616 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.4985, allocations: 3.984 kB / 0.616 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.5106, allocations: 5.615 MB / 0.6215 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.5106, allocations: 0 / 0.6215 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.5113, allocations: 131.8 kB / 0.6216 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004764/0.5161, allocations: 1.749 MB / 0.6233 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.5162, allocations: 21.23 kB / 0.6233 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/0.5315, allocations: 8.062 MB / 0.6312 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5315, allocations: 0 / 0.6312 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/0.5458, allocations: 4.96 MB / 0.636 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.5462, allocations: 207.4 kB / 0.6362 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.5464, allocations: 20.88 kB / 0.6363 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/0.5474, allocations: 111.8 kB / 0.6364 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007087/0.5481, allocations: 220.7 kB / 0.6366 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/0.5482, allocations: 20 kB / 0.6366 GB, free: 9.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008/0.549, allocations: 0.6047 MB / 0.6372 GB, free: 8.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.549, allocations: 4 kB / 0.6372 GB, free: 8.586 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001379/0.5504, allocations: 443.4 kB / 0.6376 GB, free: 8.148 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.0002686/0.5507, allocations: 119.2 kB / 0.6377 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006458/0.5572, allocations: 2.501 MB / 0.6402 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5572, allocations: 4.125 kB / 0.6402 GB, free: 5.516 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004443/0.5616, allocations: 1.59 MB / 0.6417 GB, free: 3.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/0.5624, allocations: 90.39 kB / 0.6418 GB, free: 3.824 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.5659, allocations: 2.005 MB / 0.6438 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.5666, allocations: 1.099 MB / 0.6448 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003187/0.5669, allocations: 91.8 kB / 0.6449 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.5672, allocations: 71.41 kB / 0.645 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5672, allocations: 0 / 0.645 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of Templates: time 0.03446/0.6016, allocations: 23.71 MB / 0.6682 GB, free: 9.043 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 cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)