Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo", uses=false) Using package iPSL with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(iPSL.Examples.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation") translateModel(iPSL.Examples.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007839/0.007839, allocations: 165.6 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.206/1.206, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001578/0.001578, allocations: 114.6 kB / 226.2 MB, free: 8.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.3613/0.3613, allocations: 50.19 MB / 315.8 MB, free: 15.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004312, allocations: 12 kB / 376.8 MB, free: 2.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2677, allocations: 50.49 MB / 427.3 MB, free: 25.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.379, allocations: 76.6 MB / 0.4921 GB, free: 1.238 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.3792, allocations: 75.91 kB / 0.4922 GB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04858/0.4278, allocations: 18 MB / 0.5097 GB, free: 15.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.088e-06/0.4279, allocations: 3.984 kB / 0.5097 GB, free: 15.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.894e-05/0.4279, allocations: 16 kB / 0.5098 GB, free: 15.06 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.004802/0.4327, allocations: 1.714 MB / 0.5114 GB, free: 13.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.4328, allocations: 8.031 kB / 0.5114 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/0.4356, allocations: 494.2 kB / 0.5119 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.4366, allocations: 0.6238 MB / 0.5125 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.4369, allocations: 226.5 kB / 0.5127 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.4371, allocations: 75.95 kB / 0.5128 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.4393, allocations: 1.12 MB / 0.5139 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4393, allocations: 0 / 0.5139 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-05/0.4394, allocations: 28 kB / 0.5139 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.4394, allocations: 20 kB / 0.514 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.4417, allocations: 1.156 MB / 0.5151 GB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005857/0.4476, allocations: 3.49 MB / 0.5185 GB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.4495, allocations: 0.974 MB / 0.5194 GB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.955e-05/0.4496, allocations: 20.92 kB / 0.5195 GB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.4496, allocations: 43.56 kB / 0.5195 GB, free: 4.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.366e-06/0.4496, allocations: 0 / 0.5195 GB, free: 4.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=91): time 0.2159/0.6655, allocations: 8.146 MB / 0.5275 GB, free: 86.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.6656, allocations: 64.88 kB / 0.5275 GB, free: 86.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009317/0.6665, allocations: 0.6014 MB / 0.5281 GB, free: 86.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.6667, allocations: 38.67 kB / 0.5281 GB, free: 86.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.667, allocations: 421.1 kB / 0.5285 GB, free: 86.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.6672, allocations: 313.5 kB / 0.5288 GB, free: 86.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.6673, allocations: 16.94 kB / 0.5289 GB, free: 86.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.6674, allocations: 343.5 kB / 0.5292 GB, free: 86.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.6689, allocations: 0.6721 MB / 0.5298 GB, free: 86.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.6704, allocations: 0.7695 MB / 0.5306 GB, free: 85.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.6718, allocations: 0.7201 MB / 0.5313 GB, free: 85.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6718, allocations: 0 / 0.5313 GB, free: 85.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01376/0.6856, allocations: 4.8 MB / 0.536 GB, free: 85.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.6856, allocations: 6.031 kB / 0.536 GB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.6857, allocations: 2.219 kB / 0.536 GB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007763/0.6934, allocations: 2.13 MB / 0.5381 GB, free: 85.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.6943, allocations: 135.3 kB / 0.5382 GB, free: 85.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/0.7142, allocations: 9.957 MB / 0.5479 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.7155, allocations: 185.5 kB / 0.5481 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.7156, allocations: 27.84 kB / 0.5481 GB, free: 81.45 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 fixed = true ) "d-axis transient voltage (pu)" type: Real Generator.e1q:VARIABLE(start = Generator.e1q0 fixed = true ) "q-axis transient voltage (pu)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (71): * Single equations (assignments): 70 * 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 {27 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004302/0.7161, allocations: 219.1 kB / 0.5483 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.7162, allocations: 89.16 kB / 0.5484 GB, free: 81.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.7285, allocations: 4.835 MB / 0.5531 GB, free: 78.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.7286, allocations: 12 kB / 0.5532 GB, free: 78.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7286, allocations: 0 / 0.5532 GB, free: 78.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.092e-05/0.7286, allocations: 7.938 kB / 0.5532 GB, free: 78.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.7301, allocations: 1.148 MB / 0.5543 GB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7301, allocations: 0 / 0.5543 GB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.7307, allocations: 126.1 kB / 0.5544 GB, free: 77.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005365/0.7361, allocations: 2.032 MB / 0.5564 GB, free: 75.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.7362, allocations: 20 kB / 0.5564 GB, free: 75.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01603/0.7523, allocations: 8.615 MB / 0.5648 GB, free: 66.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7523, allocations: 0 / 0.5648 GB, free: 66.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.7663, allocations: 5.802 MB / 0.5705 GB, free: 60.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005616/0.7669, allocations: 302 kB / 0.5708 GB, free: 60.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.767, allocations: 19.98 kB / 0.5708 GB, free: 60.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009846/0.768, allocations: 139.9 kB / 0.5709 GB, free: 60.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005854/0.7686, allocations: 196.6 kB / 0.5711 GB, free: 59.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.7687, allocations: 27.94 kB / 0.5711 GB, free: 59.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004893/0.7691, allocations: 483 kB / 0.5716 GB, free: 59.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7692, allocations: 4 kB / 0.5716 GB, free: 59.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001013/0.7702, allocations: 377.2 kB / 0.572 GB, free: 58.98 MB / 378.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 (62): * Single equations (assignments): 61 * 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.0002406/0.7704, allocations: 143.4 kB / 0.5721 GB, free: 58.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00593/0.7764, allocations: 2.527 MB / 0.5746 GB, free: 56.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7764, allocations: 0 / 0.5746 GB, free: 56.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004455/0.7809, allocations: 1.766 MB / 0.5763 GB, free: 54.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005671/0.7815, allocations: 66.83 kB / 0.5764 GB, free: 54.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.7844, allocations: 2.085 MB / 0.5784 GB, free: 52.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.7848, allocations: 1.045 MB / 0.5794 GB, free: 51.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000347/0.7851, allocations: 73 kB / 0.5795 GB, free: 51.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.7853, allocations: 51.42 kB / 0.5795 GB, free: 51.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7853, allocations: 0 / 0.5795 GB, free: 51.18 MB / 378.7 MB Notification: Performance of Templates: time 0.02601/0.8114, allocations: 19.03 MB / 0.5981 GB, free: 32.24 MB / 378.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)