Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 172.8 kB / 12.73 MB, free: 2.586 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.23/1.23, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0008426/0.0008427, allocations: 85.05 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.4854/0.4854, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.035e-05, allocations: 7.984 kB / 491.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3449, allocations: 69.34 MB / 0.5479 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.4587, allocations: 98.26 MB / 0.6439 GB, free: 2.184 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4589, allocations: 71.97 kB / 0.644 GB, free: 2.113 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06616/0.5251, allocations: 25.41 MB / 0.6688 GB, free: 8.516 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5252, allocations: 0 / 0.6688 GB, free: 8.516 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.777e-05/0.5252, allocations: 20 kB / 0.6688 GB, free: 8.496 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004622/0.5299, allocations: 1.758 MB / 0.6705 GB, free: 6.688 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5299, allocations: 11.97 kB / 0.6705 GB, free: 6.676 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.5331, allocations: 0.5641 MB / 0.6711 GB, free: 6.109 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.5345, allocations: 0.7287 MB / 0.6718 GB, free: 5.328 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/0.5348, allocations: 264.2 kB / 0.672 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.5349, allocations: 72 kB / 0.6721 GB, free: 4.961 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.5366, allocations: 0.8704 MB / 0.673 GB, free: 4.082 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5366, allocations: 0 / 0.673 GB, free: 4.082 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.5367, allocations: 32 kB / 0.673 GB, free: 4.051 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.5367, allocations: 20 kB / 0.673 GB, free: 4.031 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.5382, allocations: 0.8592 MB / 0.6739 GB, free: 3.176 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3289/0.8671, allocations: 3.529 MB / 0.6773 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.8688, allocations: 1.205 MB / 0.6785 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009072/0.8697, allocations: 0.5813 MB / 0.679 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.8698, allocations: 13.88 kB / 0.6791 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.8698, allocations: 48.31 kB / 0.6791 GB, free: 104 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.467e-06/0.8699, allocations: 0 / 0.6791 GB, free: 104 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01405/0.8839, allocations: 4.056 MB / 0.6831 GB, free: 103.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.884, allocations: 62.78 kB / 0.6831 GB, free: 103.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.8855, allocations: 0.7316 MB / 0.6838 GB, free: 103.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.8858, allocations: 40.36 kB / 0.6839 GB, free: 103.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.8861, allocations: 0.4965 MB / 0.6844 GB, free: 103.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.8864, allocations: 333.5 kB / 0.6847 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.8865, allocations: 17.03 kB / 0.6847 GB, free: 103.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.8866, allocations: 340.5 kB / 0.685 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007745/0.8874, allocations: 440.1 kB / 0.6854 GB, free: 103.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007076/0.8881, allocations: 0.5346 MB / 0.686 GB, free: 103 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/0.8888, allocations: 468.2 kB / 0.6864 GB, free: 103 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.8888, allocations: 3.969 kB / 0.6864 GB, free: 103 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01167/0.9005, allocations: 4.188 MB / 0.6905 GB, free: 102.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.9006, allocations: 6.719 kB / 0.6905 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.9006, allocations: 10.23 kB / 0.6905 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005304/0.9059, allocations: 1.786 MB / 0.6923 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/0.9068, allocations: 166.9 kB / 0.6924 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/0.9201, allocations: 7.094 MB / 0.6994 GB, free: 98.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.9217, allocations: 212.5 kB / 0.6996 GB, free: 98.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.9218, allocations: 31.23 kB / 0.6996 GB, free: 98.89 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" ) "Rotor angle" 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 (73): * Single equations (assignments): 72 * 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 prepare postOptimizeDAE: time 0.0002385/0.922, allocations: 154.5 kB / 0.6997 GB, free: 98.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.9222, allocations: 123.4 kB / 0.6998 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.9338, allocations: 4.213 MB / 0.704 GB, free: 97.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.9339, allocations: 7.125 kB / 0.704 GB, free: 97.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.9339, allocations: 0 / 0.704 GB, free: 97.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/0.934, allocations: 2.766 kB / 0.704 GB, free: 97.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/0.9474, allocations: 5.802 MB / 0.7096 GB, free: 93.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.9475, allocations: 0 / 0.7096 GB, free: 93.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/0.9483, allocations: 149.3 kB / 0.7098 GB, free: 93.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004851/0.9531, allocations: 1.679 MB / 0.7114 GB, free: 92.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/0.9534, allocations: 19.7 kB / 0.7114 GB, free: 92.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/0.9687, allocations: 6.329 MB / 0.7176 GB, free: 86.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.9687, allocations: 0 / 0.7176 GB, free: 86.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01995/0.9887, allocations: 4.951 MB / 0.7225 GB, free: 82.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/0.9893, allocations: 210.6 kB / 0.7227 GB, free: 81.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.9895, allocations: 16 kB / 0.7227 GB, free: 81.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.9912, allocations: 161.7 kB / 0.7228 GB, free: 81.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00097/0.9922, allocations: 225 kB / 0.723 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.9923, allocations: 20 kB / 0.7231 GB, free: 81.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.9934, allocations: 0.5745 MB / 0.7236 GB, free: 81.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9934, allocations: 0 / 0.7236 GB, free: 81.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001656/0.9951, allocations: 422.4 kB / 0.724 GB, free: 80.71 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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.0003463/0.9955, allocations: 143.3 kB / 0.7242 GB, free: 80.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007401/1.003, allocations: 1.999 MB / 0.7261 GB, free: 78.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.003, allocations: 3.938 kB / 0.7261 GB, free: 78.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005892/1.009, allocations: 1.488 MB / 0.7276 GB, free: 77.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/1.01, allocations: 72.08 kB / 0.7276 GB, free: 77.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/1.013, allocations: 1.391 MB / 0.729 GB, free: 75.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/1.013, allocations: 1.107 MB / 0.7301 GB, free: 74.83 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003056/1.013, allocations: 73.02 kB / 0.7301 GB, free: 74.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/1.014, allocations: 51.42 kB / 0.7302 GB, free: 74.71 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/1.014, allocations: 0 / 0.7302 GB, free: 74.71 MB / 490.7 MB Notification: Performance of Templates: time 0.02417/1.038, allocations: 19.31 MB / 0.749 GB, free: 55.73 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)