Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009673/0.0009672, allocations: 176.4 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 222.3 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007537/0.0007536, allocations: 93.05 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2757/0.2757, allocations: 42.29 MB / 361.2 MB, free: 49.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 16 kB / 429.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.0907, allocations: 57.56 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2624/0.3531, allocations: 93.49 MB / 0.5669 GB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.3535, allocations: 83.95 kB / 0.567 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06592/0.4194, allocations: 24.9 MB / 0.5913 GB, free: 5.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4194, allocations: 0 / 0.5913 GB, free: 5.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.147e-05/0.4195, allocations: 20.56 kB / 0.5913 GB, free: 5.152 MB / 410.7 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.005268/0.4248, allocations: 1.977 MB / 0.5932 GB, free: 3.125 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4248, allocations: 16.03 kB / 0.5932 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003345/0.4282, allocations: 0.5603 MB / 0.5938 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.4297, allocations: 0.7715 MB / 0.5945 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.43, allocations: 272.1 kB / 0.5948 GB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.4302, allocations: 77.58 kB / 0.5949 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.4326, allocations: 1.163 MB / 0.596 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.4326, allocations: 0 / 0.596 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.005e-05/0.4327, allocations: 32 kB / 0.596 GB, free: 148 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.4327, allocations: 16 kB / 0.5961 GB, free: 132 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.4354, allocations: 1.242 MB / 0.5973 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006249/0.4417, allocations: 3.565 MB / 0.6007 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/0.4439, allocations: 1.512 MB / 0.6022 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.4456, allocations: 0.8671 MB / 0.6031 GB, free: 8.664 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.566e-05/0.4457, allocations: 16.98 kB / 0.6031 GB, free: 8.648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.4458, allocations: 51.55 kB / 0.6031 GB, free: 8.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 3.135e-06/0.4458, allocations: 0 / 0.6031 GB, free: 8.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02828/0.4741, allocations: 8.492 MB / 0.6114 GB, free: 64 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.4742, allocations: 64.41 kB / 0.6115 GB, free: 15.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.4754, allocations: 0.8691 MB / 0.6123 GB, free: 15.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.683e-05/0.4755, allocations: 45.64 kB / 0.6124 GB, free: 15.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.4759, allocations: 0.5088 MB / 0.6129 GB, free: 14.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.4762, allocations: 337.3 kB / 0.6132 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.4763, allocations: 20 kB / 0.6132 GB, free: 14.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4764, allocations: 337.9 kB / 0.6135 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.478, allocations: 0.7164 MB / 0.6142 GB, free: 13.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.4797, allocations: 0.8272 MB / 0.615 GB, free: 12.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01423/0.494, allocations: 4.623 MB / 0.6196 GB, free: 7.617 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.494, allocations: 0 / 0.6196 GB, free: 7.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01388/0.5079, allocations: 4.919 MB / 0.6244 GB, free: 2.684 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.508, allocations: 8 kB / 0.6244 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.508, allocations: 0 / 0.6244 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006296/0.5143, allocations: 2.109 MB / 0.6264 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.5152, allocations: 171.8 kB / 0.6266 GB, free: 404 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/0.5354, allocations: 9.528 MB / 0.6359 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.5368, allocations: 207.1 kB / 0.6361 GB, free: 6.531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.5369, allocations: 36 kB / 0.6361 GB, free: 6.496 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(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 (75): * Single equations (assignments): 74 * 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.0005115/0.5374, allocations: 235.5 kB / 0.6364 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.5376, allocations: 122.5 kB / 0.6365 GB, free: 6.137 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.5511, allocations: 4.959 MB / 0.6413 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.5511, allocations: 11.98 kB / 0.6413 GB, free: 1.152 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.5511, allocations: 4 kB / 0.6413 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.5511, allocations: 3.984 kB / 0.6413 GB, free: 1.145 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.5661, allocations: 6.582 MB / 0.6478 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.5661, allocations: 4 kB / 0.6478 GB, free: 10.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007234/0.5669, allocations: 143.8 kB / 0.6479 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005905/0.5728, allocations: 2.058 MB / 0.6499 GB, free: 8.219 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.5729, allocations: 23.98 kB / 0.6499 GB, free: 8.195 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01733/0.5903, allocations: 8.198 MB / 0.6579 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5903, allocations: 0 / 0.6579 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/0.6061, allocations: 6.025 MB / 0.6638 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/0.6066, allocations: 207.4 kB / 0.664 GB, free: 9.578 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.6069, allocations: 16 kB / 0.664 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.6082, allocations: 155.9 kB / 0.6642 GB, free: 9.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007622/0.6089, allocations: 224.5 kB / 0.6644 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.6091, allocations: 23.98 kB / 0.6644 GB, free: 9.164 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009011/0.61, allocations: 0.5891 MB / 0.665 GB, free: 8.566 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.61, allocations: 0 / 0.665 GB, free: 8.566 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001427/0.6114, allocations: 427.5 kB / 0.6654 GB, free: 8.148 MB / 490.7 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.000338/0.6118, allocations: 143.2 kB / 0.6655 GB, free: 8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006816/0.6186, allocations: 2.597 MB / 0.6681 GB, free: 5.395 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6186, allocations: 4.188 kB / 0.6681 GB, free: 5.391 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004845/0.6235, allocations: 1.798 MB / 0.6698 GB, free: 3.582 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.6246, allocations: 84.42 kB / 0.6699 GB, free: 3.496 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.6288, allocations: 2.368 MB / 0.6722 GB, free: 1.117 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1767/0.8055, allocations: 1.099 MB / 0.6733 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005238/0.8061, allocations: 63.59 kB / 0.6734 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.8063, allocations: 52.48 kB / 0.6734 GB, free: 127.9 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/0.8063, allocations: 0 / 0.6734 GB, free: 127.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02852/0.8348, allocations: 19.68 MB / 0.6926 GB, free: 127.3 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)