Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.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 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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009175/0.0009175, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.366/1.366, allocations: 223.3 MB / 239.3 MB, free: 5.535 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.0009825/0.0009825, allocations: 172.6 kB / 290.6 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5274/0.5274, allocations: 91.92 MB / 433.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003803, allocations: 12 kB / 0.5048 GB, free: 7.305 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3357, allocations: 72.46 MB / 0.5755 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004415/0.3401, allocations: 6.271 MB / 0.5816 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.3431, allocations: 1.89 MB / 0.5835 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000577/0.3437, allocations: 11.75 kB / 0.5835 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.3441, allocations: 170.9 kB / 0.5837 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.3457, allocations: 0.6308 MB / 0.5843 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.3468, allocations: 0.5504 MB / 0.5848 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.3481, allocations: 1.338 MB / 0.5861 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004079/0.3485, allocations: 288 kB / 0.5864 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.3491, allocations: 0.5101 MB / 0.5869 GB, free: 29.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005157/0.3496, allocations: 0.6549 MB / 0.5875 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.988e-05/0.3497, allocations: 52.5 kB / 0.5876 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.3501, allocations: 183.3 kB / 0.5878 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3502, allocations: 221.8 kB / 0.588 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.3506, allocations: 0.588 MB / 0.5885 GB, free: 28.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.3518, allocations: 1.404 MB / 0.5899 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3518, allocations: 0 / 0.5899 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3518, allocations: 3.312 kB / 0.5899 GB, free: 27.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.3519, allocations: 0 / 0.5899 GB, free: 27.96 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00735/0.3592, allocations: 2.369 MB / 0.5922 GB, free: 26.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3593, allocations: 11.47 kB / 0.5922 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/0.3644, allocations: 0.7891 MB / 0.593 GB, free: 26.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.3654, allocations: 0.7586 MB / 0.5938 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.3657, allocations: 278.7 kB / 0.594 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.3659, allocations: 74.38 kB / 0.5941 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.3682, allocations: 1.165 MB / 0.5952 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.3682, allocations: 3.938 kB / 0.5952 GB, free: 25.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/0.3683, allocations: 29.97 kB / 0.5953 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.3684, allocations: 18.28 kB / 0.5953 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.3709, allocations: 1.24 MB / 0.5965 GB, free: 25.18 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.005556/0.3765, allocations: 3.502 MB / 0.5999 GB, free: 23.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.3788, allocations: 1.509 MB / 0.6014 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.3806, allocations: 0.871 MB / 0.6022 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-05/0.3807, allocations: 14.73 kB / 0.6023 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.3807, allocations: 39.16 kB / 0.6023 GB, free: 21.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.206e-06/0.3807, allocations: 0 / 0.6023 GB, free: 21.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02973/0.4104, allocations: 8.376 MB / 0.6105 GB, free: 20.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.4105, allocations: 61.97 kB / 0.6105 GB, free: 20.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.4119, allocations: 0.8844 MB / 0.6114 GB, free: 20.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002108/0.4122, allocations: 41.7 kB / 0.6114 GB, free: 19.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.4125, allocations: 0.4917 MB / 0.6119 GB, free: 19.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.4128, allocations: 342.4 kB / 0.6122 GB, free: 19.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.413, allocations: 98.12 kB / 0.6123 GB, free: 19.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.4131, allocations: 348.9 kB / 0.6127 GB, free: 18.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.4149, allocations: 0.8042 MB / 0.6135 GB, free: 18.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.4167, allocations: 0.9322 MB / 0.6144 GB, free: 18.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01941/0.4361, allocations: 5.352 MB / 0.6196 GB, free: 16.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.4362, allocations: 0 / 0.6196 GB, free: 16.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01406/0.4503, allocations: 5.206 MB / 0.6247 GB, free: 10.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.4504, allocations: 4 kB / 0.6247 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.4504, allocations: 4 kB / 0.6247 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006072/0.4565, allocations: 2.163 MB / 0.6268 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.4576, allocations: 227.7 kB / 0.627 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/0.4769, allocations: 9.343 MB / 0.6361 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.4788, allocations: 226.9 kB / 0.6363 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.4789, allocations: 35.98 kB / 0.6364 GB, free: 14.78 MB / 446.1 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.0005845/0.4795, allocations: 244.8 kB / 0.6366 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.4797, allocations: 126.4 kB / 0.6367 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/0.4948, allocations: 4.951 MB / 0.6416 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.4949, allocations: 8 kB / 0.6416 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4949, allocations: 4 kB / 0.6416 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/0.4949, allocations: 3.984 kB / 0.6416 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/0.5123, allocations: 6.571 MB / 0.648 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.5123, allocations: 4 kB / 0.648 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008233/0.5132, allocations: 139.8 kB / 0.6481 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006601/0.5198, allocations: 2.058 MB / 0.6502 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/0.52, allocations: 16 kB / 0.6502 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/0.5389, allocations: 8.221 MB / 0.6582 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5389, allocations: 3.938 kB / 0.6582 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/0.5561, allocations: 5.993 MB / 0.6641 GB, free: 2.109 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/0.5566, allocations: 207.4 kB / 0.6643 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.5567, allocations: 16 kB / 0.6643 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.5579, allocations: 155.9 kB / 0.6644 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007122/0.5586, allocations: 216.6 kB / 0.6646 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.128e-05/0.5587, allocations: 23.98 kB / 0.6646 GB, free: 1.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007648/0.5595, allocations: 0.5927 MB / 0.6652 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5595, allocations: 0 / 0.6652 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001274/0.5608, allocations: 435.4 kB / 0.6656 GB, free: 464 kB / 462.1 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.000282/0.561, allocations: 135.1 kB / 0.6658 GB, free: 316 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007395/0.5685, allocations: 2.756 MB / 0.6685 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5685, allocations: 0 / 0.6685 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00527/0.5738, allocations: 1.806 MB / 0.6702 GB, free: 11.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009325/0.5747, allocations: 96.55 kB / 0.6703 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.5785, allocations: 2.396 MB / 0.6727 GB, free: 9.199 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.5792, allocations: 1.084 MB / 0.6737 GB, free: 8.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000382/0.5796, allocations: 82.69 kB / 0.6738 GB, free: 8.004 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.5798, allocations: 67.41 kB / 0.6739 GB, free: 7.938 MB / 478.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5798, allocations: 0 / 0.6739 GB, free: 7.938 MB / 478.1 MB Notification: Performance of Templates: time 0.03137/0.6112, allocations: 20.39 MB / 0.6938 GB, free: 3.574 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)