Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.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 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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009811/0.0009813, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.309/1.309, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.0009775/0.0009775, allocations: 99.53 kB / 280.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4671/0.4671, allocations: 78.94 MB / 410.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.839e-05, allocations: 4 kB / 485.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1577, allocations: 69.51 MB / 0.5424 GB, free: 5.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.6124, allocations: 96.89 MB / 0.637 GB, free: 1.238 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.6127, allocations: 75.97 kB / 0.6371 GB, free: 1.164 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06449/0.6772, allocations: 23.24 MB / 0.6598 GB, free: 9.996 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6772, allocations: 0 / 0.6598 GB, free: 9.996 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.873e-05/0.6773, allocations: 16 kB / 0.6598 GB, free: 9.98 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.005251/0.6826, allocations: 1.593 MB / 0.6614 GB, free: 8.344 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.6826, allocations: 12.02 kB / 0.6614 GB, free: 8.332 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.6861, allocations: 0.5371 MB / 0.6619 GB, free: 7.793 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.6876, allocations: 0.6684 MB / 0.6626 GB, free: 7.082 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002801/0.6879, allocations: 232.2 kB / 0.6628 GB, free: 6.816 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.688, allocations: 40 kB / 0.6628 GB, free: 6.777 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001425/0.6895, allocations: 0.7498 MB / 0.6636 GB, free: 6.027 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.6908, allocations: 0.6907 MB / 0.6642 GB, free: 5.332 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.6909, allocations: 3.938 kB / 0.6642 GB, free: 5.328 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.462e-05/0.6909, allocations: 0 / 0.6642 GB, free: 5.328 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.691, allocations: 16 kB / 0.6643 GB, free: 5.312 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005891/0.6969, allocations: 3.111 MB / 0.6673 GB, free: 2.062 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.6983, allocations: 1.11 MB / 0.6684 GB, free: 0.832 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007503/0.6991, allocations: 0.5081 MB / 0.6689 GB, free: 332 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.6992, allocations: 8.781 kB / 0.6689 GB, free: 320 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.6993, allocations: 51.28 kB / 0.6689 GB, free: 260 kB / 474.7 MB Notification: Performance of pre-optimization done (n=82): time 2.815e-06/0.6993, allocations: 0 / 0.6689 GB, free: 260 kB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.01271/0.712, allocations: 3.92 MB / 0.6728 GB, free: 12.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.7121, allocations: 60.19 kB / 0.6728 GB, free: 12.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009893/0.7131, allocations: 0.6143 MB / 0.6734 GB, free: 11.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.7133, allocations: 25.7 kB / 0.6734 GB, free: 11.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.7136, allocations: 444.2 kB / 0.6739 GB, free: 11.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.7139, allocations: 271.8 kB / 0.6741 GB, free: 10.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.714, allocations: 1.125 kB / 0.6741 GB, free: 10.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.7142, allocations: 349.9 kB / 0.6745 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006834/0.7149, allocations: 389.6 kB / 0.6748 GB, free: 10.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007298/0.7156, allocations: 483.6 kB / 0.6753 GB, free: 9.664 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006932/0.7163, allocations: 433.2 kB / 0.6757 GB, free: 9.246 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.7163, allocations: 3.938 kB / 0.6757 GB, free: 9.242 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01255/0.7289, allocations: 3.973 MB / 0.6796 GB, free: 5.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.7289, allocations: 8 kB / 0.6796 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.729, allocations: 0 / 0.6796 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005807/0.7348, allocations: 1.694 MB / 0.6813 GB, free: 3.543 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007221/0.7355, allocations: 127.8 kB / 0.6814 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/0.7505, allocations: 7.059 MB / 0.6883 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.752, allocations: 159.2 kB / 0.6884 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/0.7521, allocations: 28 kB / 0.6885 GB, free: 12.05 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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.000333/0.7525, allocations: 113.9 kB / 0.6886 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.7527, allocations: 110.7 kB / 0.6887 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/0.7652, allocations: 3.996 MB / 0.6926 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.7652, allocations: 8 kB / 0.6926 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7653, allocations: 7 kB / 0.6926 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/0.7653, allocations: 3.984 kB / 0.6926 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.7799, allocations: 5.426 MB / 0.6979 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.7799, allocations: 4 kB / 0.6979 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.7806, allocations: 91.89 kB / 0.698 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00569/0.7863, allocations: 1.675 MB / 0.6996 GB, free: 472 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/0.7866, allocations: 4 kB / 0.6996 GB, free: 468 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/0.7995, allocations: 6.194 MB / 0.7057 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.7996, allocations: 5.344 kB / 0.7057 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/0.8131, allocations: 4.694 MB / 0.7103 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/0.8136, allocations: 191.6 kB / 0.7104 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.8137, allocations: 3.938 kB / 0.7104 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.8148, allocations: 115.9 kB / 0.7106 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006678/0.8154, allocations: 200.4 kB / 0.7107 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/0.8155, allocations: 22.81 kB / 0.7108 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006988/0.8162, allocations: 487.1 kB / 0.7112 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8162, allocations: 0 / 0.7112 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001298/0.8175, allocations: 363.5 kB / 0.7116 GB, free: 4.066 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.000288/0.8178, allocations: 123.2 kB / 0.7117 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00518/0.823, allocations: 1.848 MB / 0.7135 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8231, allocations: 64 / 0.7135 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004498/0.8276, allocations: 1.395 MB / 0.7149 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/0.8284, allocations: 52.44 kB / 0.7149 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.831, allocations: 1.221 MB / 0.7161 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.8317, allocations: 1.048 MB / 0.7171 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002712/0.832, allocations: 57.16 kB / 0.7172 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.8322, allocations: 47.42 kB / 0.7172 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of SimCode: time 5.82e-07/0.8322, allocations: 0 / 0.7172 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.02908/0.8612, allocations: 17.32 MB / 0.7341 GB, free: 13.04 MB / 0.5417 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)