Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007788/0.0007788, allocations: 87.89 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4642/0.4642, allocations: 78.01 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.975e-05, allocations: 7.984 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3546, allocations: 69.34 MB / 0.548 GB, free: 20.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4757, allocations: 98.46 MB / 0.6441 GB, free: 1.957 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.476, allocations: 79.95 kB / 0.6442 GB, free: 1.879 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06755/0.5435, allocations: 25.74 MB / 0.6693 GB, free: 7.949 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5436, allocations: 4 kB / 0.6693 GB, free: 7.945 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.619e-05/0.5436, allocations: 20 kB / 0.6693 GB, free: 7.926 MB / 490.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.004607/0.5482, allocations: 1.778 MB / 0.6711 GB, free: 6.098 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5483, allocations: 15.97 kB / 0.6711 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.5515, allocations: 0.5525 MB / 0.6716 GB, free: 5.527 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5528, allocations: 0.7363 MB / 0.6724 GB, free: 4.738 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/0.5532, allocations: 268.2 kB / 0.6726 GB, free: 4.438 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.5533, allocations: 79.98 kB / 0.6727 GB, free: 4.359 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.555, allocations: 0.8665 MB / 0.6735 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.555, allocations: 0 / 0.6735 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/0.5551, allocations: 28 kB / 0.6736 GB, free: 3.457 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.5551, allocations: 20 kB / 0.6736 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.5567, allocations: 0.8631 MB / 0.6744 GB, free: 2.578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2801/0.8368, allocations: 3.561 MB / 0.6779 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.8383, allocations: 1.219 MB / 0.6791 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009066/0.8392, allocations: 0.5844 MB / 0.6797 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.8393, allocations: 19.58 kB / 0.6797 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.8393, allocations: 50.11 kB / 0.6797 GB, free: 103.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.196e-06/0.8394, allocations: 0 / 0.6797 GB, free: 103.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.0138/0.8532, allocations: 4.069 MB / 0.6837 GB, free: 103.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.8533, allocations: 62.19 kB / 0.6838 GB, free: 103.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.8546, allocations: 0.744 MB / 0.6845 GB, free: 103.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002282/0.8548, allocations: 40.77 kB / 0.6845 GB, free: 103.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.8551, allocations: 0.5107 MB / 0.685 GB, free: 103.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.8554, allocations: 335.6 kB / 0.6853 GB, free: 103 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.8555, allocations: 21.59 kB / 0.6854 GB, free: 103 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.8556, allocations: 338.2 kB / 0.6857 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007154/0.8563, allocations: 441.7 kB / 0.6861 GB, free: 102.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/0.857, allocations: 0.5414 MB / 0.6866 GB, free: 102.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006929/0.8577, allocations: 478.3 kB / 0.6871 GB, free: 102.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.8577, allocations: 5.594 kB / 0.6871 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01174/0.8695, allocations: 4.165 MB / 0.6912 GB, free: 102.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.8696, allocations: 10.78 kB / 0.6912 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.8696, allocations: 0 / 0.6912 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005404/0.875, allocations: 1.732 MB / 0.6929 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009087/0.8759, allocations: 177.5 kB / 0.693 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.8892, allocations: 7.283 MB / 0.7001 GB, free: 98.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.8907, allocations: 206.5 kB / 0.7003 GB, free: 98.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.8908, allocations: 32.97 kB / 0.7004 GB, free: 98.12 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.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 (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.0002364/0.891, allocations: 149.1 kB / 0.7005 GB, free: 98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/0.8914, allocations: 120.3 kB / 0.7006 GB, free: 97.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.9027, allocations: 4.212 MB / 0.7047 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.9028, allocations: 9.969 kB / 0.7048 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.9028, allocations: 0 / 0.7048 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.9028, allocations: 11.39 kB / 0.7048 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.9164, allocations: 5.824 MB / 0.7105 GB, free: 93.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.9164, allocations: 0 / 0.7105 GB, free: 93.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/0.9172, allocations: 149.9 kB / 0.7106 GB, free: 92.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004774/0.9219, allocations: 1.682 MB / 0.7122 GB, free: 91.56 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.9221, allocations: 27.52 kB / 0.7123 GB, free: 91.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/0.9336, allocations: 6.322 MB / 0.7184 GB, free: 85.74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.9336, allocations: 0 / 0.7184 GB, free: 85.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/0.9458, allocations: 4.988 MB / 0.7233 GB, free: 81.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.9463, allocations: 208.7 kB / 0.7235 GB, free: 81.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.9466, allocations: 19.25 kB / 0.7235 GB, free: 81.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.9477, allocations: 152.3 kB / 0.7237 GB, free: 81.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006789/0.9484, allocations: 221.7 kB / 0.7239 GB, free: 81.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.052e-05/0.9485, allocations: 24 kB / 0.7239 GB, free: 81.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008306/0.9494, allocations: 0.5823 MB / 0.7245 GB, free: 80.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.9494, allocations: 0 / 0.7245 GB, free: 80.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001345/0.9508, allocations: 433.7 kB / 0.7249 GB, free: 80.16 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 () * 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.0003332/0.9511, allocations: 150.3 kB / 0.725 GB, free: 80.01 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004918/0.956, allocations: 2.013 MB / 0.727 GB, free: 78.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.956, allocations: 0.5625 kB / 0.727 GB, free: 78.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003844/0.9599, allocations: 1.502 MB / 0.7285 GB, free: 76.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.9606, allocations: 72.38 kB / 0.7285 GB, free: 76.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.9635, allocations: 1.466 MB / 0.73 GB, free: 75.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.964, allocations: 1.122 MB / 0.7311 GB, free: 74.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003339/0.9644, allocations: 68.95 kB / 0.7311 GB, free: 74.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.9646, allocations: 55.42 kB / 0.7312 GB, free: 74 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.9646, allocations: 0 / 0.7312 GB, free: 74 MB / 490.7 MB Notification: Performance of Templates: time 0.02735/0.9919, allocations: 19.62 MB / 0.7503 GB, free: 54.7 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)