Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.5 MB / 229.6 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007558/0.0007557, allocations: 99.05 kB / 280.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4445/0.4445, allocations: 78.06 MB / 409.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.398e-05/1.399e-05, allocations: 4 kB / 484.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1256, allocations: 69.35 MB / 0.5413 GB, free: 6.844 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3843/0.5099, allocations: 96.6 MB / 0.6356 GB, free: 2.961 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.5102, allocations: 79.95 kB / 0.6357 GB, free: 2.883 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06037/0.5705, allocations: 23.1 MB / 0.6582 GB, free: 11.85 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5706, allocations: 0 / 0.6582 GB, free: 11.85 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.263e-05/0.5707, allocations: 17.31 kB / 0.6583 GB, free: 11.84 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004463/0.5751, allocations: 1.606 MB / 0.6598 GB, free: 10.19 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.5752, allocations: 8.031 kB / 0.6598 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/0.5784, allocations: 0.5371 MB / 0.6604 GB, free: 9.641 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.5799, allocations: 0.672 MB / 0.661 GB, free: 8.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.5802, allocations: 240.2 kB / 0.6613 GB, free: 8.656 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.5804, allocations: 40 kB / 0.6613 GB, free: 8.617 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001344/0.5817, allocations: 0.7498 MB / 0.662 GB, free: 7.867 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.583, allocations: 0.6907 MB / 0.6627 GB, free: 7.172 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.583, allocations: 3.984 kB / 0.6627 GB, free: 7.168 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.5831, allocations: 0 / 0.6627 GB, free: 7.168 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.5831, allocations: 16 kB / 0.6627 GB, free: 7.152 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00536/0.5885, allocations: 3.112 MB / 0.6658 GB, free: 3.898 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.5898, allocations: 1.113 MB / 0.6668 GB, free: 2.664 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/0.5905, allocations: 0.5251 MB / 0.6674 GB, free: 2.141 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.5906, allocations: 12.77 kB / 0.6674 GB, free: 2.125 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.5906, allocations: 43.34 kB / 0.6674 GB, free: 2.074 MB / 474.7 MB Notification: Performance of pre-optimization done (n=83): time 4.248e-06/0.5907, allocations: 0 / 0.6674 GB, free: 2.074 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.01205/0.6027, allocations: 3.926 MB / 0.6712 GB, free: 14.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.6028, allocations: 60.19 kB / 0.6713 GB, free: 14.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000851/0.6037, allocations: 0.5987 MB / 0.6719 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.6038, allocations: 25.7 kB / 0.6719 GB, free: 13.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.6041, allocations: 444.3 kB / 0.6723 GB, free: 12.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.6044, allocations: 283.8 kB / 0.6726 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/0.6045, allocations: 0 / 0.6726 GB, free: 12.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6046, allocations: 337.9 kB / 0.6729 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/0.6052, allocations: 393.6 kB / 0.6733 GB, free: 11.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007364/0.606, allocations: 493 kB / 0.6738 GB, free: 11.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.6067, allocations: 437.1 kB / 0.6742 GB, free: 11.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.6067, allocations: 4 kB / 0.6742 GB, free: 11.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01213/0.6188, allocations: 4.047 MB / 0.6781 GB, free: 6.988 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.6189, allocations: 4 kB / 0.6781 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.6189, allocations: 4 kB / 0.6781 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005635/0.6245, allocations: 1.666 MB / 0.6798 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.6252, allocations: 123.8 kB / 0.6799 GB, free: 5.191 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.6396, allocations: 7.064 MB / 0.6868 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.6409, allocations: 155.3 kB / 0.6869 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.6411, allocations: 28 kB / 0.687 GB, free: 13.81 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003293/0.6415, allocations: 119.5 kB / 0.6871 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.6417, allocations: 106.6 kB / 0.6872 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/0.654, allocations: 4.004 MB / 0.6911 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.654, allocations: 9.406 kB / 0.6911 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.654, allocations: 0 / 0.6911 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.6541, allocations: 7.969 kB / 0.6911 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.6684, allocations: 5.422 MB / 0.6964 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.6685, allocations: 0 / 0.6964 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/0.6691, allocations: 99.83 kB / 0.6965 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005537/0.6747, allocations: 1.673 MB / 0.6981 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.6749, allocations: 4 kB / 0.6981 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/0.6881, allocations: 6.182 MB / 0.7042 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.6882, allocations: 4 kB / 0.7042 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/0.702, allocations: 4.701 MB / 0.7088 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.7024, allocations: 183.6 kB / 0.7089 GB, free: 7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.7027, allocations: 8 kB / 0.709 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.7038, allocations: 115.9 kB / 0.7091 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005782/0.7044, allocations: 196.4 kB / 0.7092 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.393e-05/0.7045, allocations: 25.12 kB / 0.7093 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006275/0.7051, allocations: 475.1 kB / 0.7097 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7051, allocations: 0 / 0.7097 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001265/0.7064, allocations: 359.5 kB / 0.7101 GB, free: 5.855 MB / 0.5105 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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.0002896/0.7067, allocations: 138.8 kB / 0.7102 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005294/0.712, allocations: 1.858 MB / 0.712 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.712, allocations: 0 / 0.712 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004249/0.7163, allocations: 1.4 MB / 0.7134 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006057/0.7169, allocations: 54.19 kB / 0.7134 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.7195, allocations: 1.277 MB / 0.7147 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.7201, allocations: 1.052 MB / 0.7157 GB, free: 8 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003108/0.7204, allocations: 57.14 kB / 0.7158 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.7206, allocations: 55.36 kB / 0.7158 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/0.7206, allocations: 0 / 0.7158 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.02864/0.7492, allocations: 17.25 MB / 0.7327 GB, free: 14.8 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)