Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_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.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 176.9 kB / 16.12 MB, free: 5.57 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.473/1.473, allocations: 205.4 MB / 222.3 MB, free: 13.74 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.0008199/0.00082, allocations: 86.28 kB / 270.6 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1611/0.1611, allocations: 42.31 MB / 361.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004055, allocations: 12.84 kB / 429.4 MB, free: 21.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 57.56 MB / 487 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3624/0.4779, allocations: 93.75 MB / 0.5671 GB, free: 10.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.4783, allocations: 84.77 kB / 0.5672 GB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06973/0.5481, allocations: 24.96 MB / 0.5916 GB, free: 5.156 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5481, allocations: 0 / 0.5916 GB, free: 5.156 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001032/0.5483, allocations: 24 kB / 0.5916 GB, free: 5.133 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006207/0.5545, allocations: 1.979 MB / 0.5935 GB, free: 3.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5545, allocations: 12.03 kB / 0.5935 GB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/0.558, allocations: 0.5596 MB / 0.5941 GB, free: 2.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.5601, allocations: 0.7989 MB / 0.5949 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.5605, allocations: 267.1 kB / 0.5951 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.5608, allocations: 77.75 kB / 0.5952 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/0.5636, allocations: 1.167 MB / 0.5963 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.5637, allocations: 0 / 0.5963 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.5638, allocations: 30.56 kB / 0.5964 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.5638, allocations: 16 kB / 0.5964 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.5665, allocations: 1.248 MB / 0.5976 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007028/0.5736, allocations: 3.564 MB / 0.6011 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.5759, allocations: 1.512 MB / 0.6026 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.5776, allocations: 0.8742 MB / 0.6034 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.5777, allocations: 16.5 kB / 0.6034 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.5777, allocations: 46.62 kB / 0.6035 GB, free: 11.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=98): time 4.228e-06/0.5778, allocations: 0 / 0.6035 GB, free: 11.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=98): time 0.02859/0.6064, allocations: 8.542 MB / 0.6118 GB, free: 3.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.6065, allocations: 64.41 kB / 0.6119 GB, free: 3.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.608, allocations: 0.8621 MB / 0.6127 GB, free: 2.629 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003025/0.6083, allocations: 39.64 kB / 0.6127 GB, free: 2.598 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.6087, allocations: 0.4992 MB / 0.6132 GB, free: 2.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006322/0.6093, allocations: 345.2 kB / 0.6136 GB, free: 2.023 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.6095, allocations: 14 kB / 0.6136 GB, free: 2.023 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6096, allocations: 336.2 kB / 0.6139 GB, free: 1.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.6113, allocations: 0.717 MB / 0.6146 GB, free: 1.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.6131, allocations: 0.8279 MB / 0.6154 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/0.628, allocations: 4.643 MB / 0.6199 GB, free: 12.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.628, allocations: 3.938 kB / 0.6199 GB, free: 12.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01469/0.6427, allocations: 4.911 MB / 0.6247 GB, free: 8.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.6428, allocations: 8 kB / 0.6247 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.6428, allocations: 3.938 kB / 0.6248 GB, free: 8.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006543/0.6494, allocations: 2.109 MB / 0.6268 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009749/0.6504, allocations: 175.8 kB / 0.627 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/0.6726, allocations: 9.474 MB / 0.6362 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.6743, allocations: 211.1 kB / 0.6364 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002373/0.6746, allocations: 39.92 kB / 0.6365 GB, free: 12.16 MB / 442.7 MB Warning: Assuming fixed start value for the following 3 variables: Generator.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Generator.e1q:VARIABLE(start = Generator.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 (77): * Single equations (assignments): 76 * 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 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007752/0.6754, allocations: 231.6 kB / 0.6367 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004235/0.6758, allocations: 122.5 kB / 0.6368 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/0.6905, allocations: 4.979 MB / 0.6417 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.6906, allocations: 19.97 kB / 0.6417 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6906, allocations: 0 / 0.6417 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/0.6906, allocations: 3.984 kB / 0.6417 GB, free: 6.785 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/0.7081, allocations: 6.574 MB / 0.6481 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.7082, allocations: 0 / 0.6481 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009908/0.7092, allocations: 147.8 kB / 0.6483 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006392/0.7156, allocations: 2.058 MB / 0.6503 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002423/0.7159, allocations: 19.94 kB / 0.6503 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01919/0.7351, allocations: 8.182 MB / 0.6583 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.7352, allocations: 7.938 kB / 0.6583 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/0.7523, allocations: 5.997 MB / 0.6641 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.7529, allocations: 211.3 kB / 0.6643 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004385/0.7533, allocations: 16 kB / 0.6644 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.7546, allocations: 155.9 kB / 0.6645 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007975/0.7555, allocations: 220.5 kB / 0.6647 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.7556, allocations: 31.98 kB / 0.6647 GB, free: 14.85 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009447/0.7565, allocations: 0.5813 MB / 0.6653 GB, free: 14.26 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.054e-06/0.7566, allocations: 0 / 0.6653 GB, free: 14.26 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001745/0.7583, allocations: 431.5 kB / 0.6657 GB, free: 13.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.0004646/0.7588, allocations: 150.7 kB / 0.6659 GB, free: 13.69 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007265/0.7661, allocations: 2.602 MB / 0.6684 GB, free: 11.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7661, allocations: 3.938 kB / 0.6684 GB, free: 11.06 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005063/0.7712, allocations: 1.802 MB / 0.6702 GB, free: 9.254 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.7723, allocations: 95.86 kB / 0.6703 GB, free: 9.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.7769, allocations: 2.415 MB / 0.6726 GB, free: 6.715 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.7776, allocations: 1.095 MB / 0.6737 GB, free: 5.594 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003733/0.778, allocations: 69.56 kB / 0.6738 GB, free: 5.523 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.7782, allocations: 55.42 kB / 0.6738 GB, free: 5.469 MB / 474.7 MB Notification: Performance of SimCode: time 9.22e-07/0.7783, allocations: 0 / 0.6738 GB, free: 5.469 MB / 474.7 MB Notification: Performance of Templates: time 0.03518/0.8134, allocations: 19.59 MB / 0.6929 GB, free: 1.867 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)