Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001222/0.001222, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.331/1.331, allocations: 223.2 MB / 238.9 MB, free: 5.668 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.001034/0.001034, allocations: 185 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4498/0.4498, allocations: 79.44 MB / 420.7 MB, free: 4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003155, allocations: 8 kB / 0.489 GB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1249, allocations: 69.52 MB / 0.5569 GB, free: 60 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.224/0.3489, allocations: 5.62 MB / 0.5624 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003124/0.3521, allocations: 1.858 MB / 0.5642 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006151/0.3527, allocations: 15.34 kB / 0.5642 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.3531, allocations: 156.8 kB / 0.5643 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.3546, allocations: 0.6495 MB / 0.565 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3557, allocations: 0.5146 MB / 0.5655 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.3568, allocations: 0.9162 MB / 0.5664 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003769/0.3572, allocations: 272.2 kB / 0.5666 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005309/0.3577, allocations: 0.5006 MB / 0.5671 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.3582, allocations: 0.6276 MB / 0.5677 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.253e-05/0.3583, allocations: 52.75 kB / 0.5678 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.3587, allocations: 165.2 kB / 0.5679 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.3588, allocations: 220.1 kB / 0.5682 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3589, allocations: 222.5 kB / 0.5684 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008382/0.3598, allocations: 1.052 MB / 0.5694 GB, free: 36.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.3598, allocations: 0 / 0.5694 GB, free: 36.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3598, allocations: 1.969 kB / 0.5694 GB, free: 36.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3598, allocations: 1.406 kB / 0.5694 GB, free: 36.18 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.006657/0.3665, allocations: 2.408 MB / 0.5718 GB, free: 35.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.375e-05/0.3665, allocations: 11.16 kB / 0.5718 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004627/0.3711, allocations: 0.7872 MB / 0.5725 GB, free: 35.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009262/0.3721, allocations: 0.73 MB / 0.5732 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.3723, allocations: 270.5 kB / 0.5735 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.3724, allocations: 76.22 kB / 0.5736 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.3745, allocations: 1.158 MB / 0.5747 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3746, allocations: 0 / 0.5747 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.955e-05/0.3746, allocations: 35.02 kB / 0.5747 GB, free: 33.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.3747, allocations: 24.48 kB / 0.5748 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.377, allocations: 1.242 MB / 0.576 GB, free: 33.55 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.005042/0.3821, allocations: 3.613 MB / 0.5795 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.384, allocations: 1.518 MB / 0.581 GB, free: 30.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.507e-05/0.3841, allocations: 17.97 kB / 0.581 GB, free: 30.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.3841, allocations: 54.72 kB / 0.5811 GB, free: 30.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.345e-06/0.3841, allocations: 0 / 0.5811 GB, free: 30.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02712/0.4112, allocations: 8.148 MB / 0.589 GB, free: 29.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.4113, allocations: 68.45 kB / 0.5891 GB, free: 28.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.4125, allocations: 0.8953 MB / 0.59 GB, free: 28.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.4127, allocations: 41.05 kB / 0.59 GB, free: 28.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.413, allocations: 0.49 MB / 0.5905 GB, free: 28.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.4133, allocations: 342.5 kB / 0.5908 GB, free: 27.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-05/0.4134, allocations: 25 kB / 0.5908 GB, free: 27.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.4135, allocations: 348.9 kB / 0.5912 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.4152, allocations: 0.8064 MB / 0.5919 GB, free: 27.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.417, allocations: 0.9371 MB / 0.5929 GB, free: 26.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.4188, allocations: 0.8643 MB / 0.5937 GB, free: 26.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4188, allocations: 1.469 kB / 0.5937 GB, free: 26.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.0154/0.4342, allocations: 5.212 MB / 0.5988 GB, free: 25.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.4343, allocations: 6.125 kB / 0.5988 GB, free: 25.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4343, allocations: 4.047 kB / 0.5988 GB, free: 25.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007095/0.4414, allocations: 2.098 MB / 0.6008 GB, free: 25.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.4427, allocations: 235.7 kB / 0.6011 GB, free: 25.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02272/0.4655, allocations: 9.986 MB / 0.6108 GB, free: 20.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.4671, allocations: 221.2 kB / 0.611 GB, free: 20.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.225e-05/0.4672, allocations: 37.28 kB / 0.6111 GB, free: 20.45 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.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (112): * Single equations (assignments): 111 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004534/0.4677, allocations: 250.2 kB / 0.6113 GB, free: 20.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.4679, allocations: 119.2 kB / 0.6114 GB, free: 20.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.4815, allocations: 4.951 MB / 0.6163 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4815, allocations: 9.969 kB / 0.6163 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4815, allocations: 1 kB / 0.6163 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/0.4815, allocations: 8.578 kB / 0.6163 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.4959, allocations: 6.563 MB / 0.6227 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.4959, allocations: 0 / 0.6227 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/0.4967, allocations: 147.8 kB / 0.6228 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005837/0.5026, allocations: 2.05 MB / 0.6248 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/0.5028, allocations: 23.98 kB / 0.6249 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/0.5203, allocations: 8.645 MB / 0.6333 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5203, allocations: 7.891 kB / 0.6333 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/0.5362, allocations: 5.983 MB / 0.6391 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.5366, allocations: 207.5 kB / 0.6393 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.5367, allocations: 17.12 kB / 0.6394 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.5378, allocations: 159.9 kB / 0.6395 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006286/0.5385, allocations: 220.5 kB / 0.6397 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.5386, allocations: 24 kB / 0.6397 GB, free: 7.492 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007133/0.5393, allocations: 0.5891 MB / 0.6403 GB, free: 6.895 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5393, allocations: 7.938 kB / 0.6403 GB, free: 6.887 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001239/0.5405, allocations: 443.4 kB / 0.6408 GB, free: 6.453 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 (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.0002293/0.5408, allocations: 131.2 kB / 0.6409 GB, free: 6.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006935/0.5477, allocations: 2.771 MB / 0.6436 GB, free: 3.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5477, allocations: 0 / 0.6436 GB, free: 3.547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00487/0.5526, allocations: 1.794 MB / 0.6453 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.5532, allocations: 80.38 kB / 0.6454 GB, free: 1.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.5567, allocations: 2.378 MB / 0.6477 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.5572, allocations: 1.126 MB / 0.6488 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003529/0.5576, allocations: 91.08 kB / 0.6489 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.5578, allocations: 63.42 kB / 0.649 GB, free: 13.98 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5578, allocations: 0 / 0.649 GB, free: 13.98 MB / 462.1 MB Notification: Performance of Templates: time 0.02841/0.5862, allocations: 20.11 MB / 0.6686 GB, free: 10.05 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)