Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000808/0.0008082, allocations: 90.62 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06458/0.06458, allocations: 12.59 MB / 327.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2857/0.2857, allocations: 78.03 MB / 456.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.877e-05, allocations: 11.94 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.09962, allocations: 69.33 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.4502, allocations: 101.1 MB / 0.6882 GB, free: 14.44 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.4505, allocations: 80.08 kB / 0.6882 GB, free: 14.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06684/0.5174, allocations: 24.63 MB / 0.7123 GB, free: 9.598 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.624e-06/0.5174, allocations: 0 / 0.7123 GB, free: 9.598 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.97e-05/0.5175, allocations: 20 kB / 0.7123 GB, free: 9.578 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004161/0.5217, allocations: 1.634 MB / 0.7139 GB, free: 8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.5217, allocations: 11.98 kB / 0.7139 GB, free: 7.988 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/0.5245, allocations: 484.9 kB / 0.7144 GB, free: 7.551 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.5256, allocations: 0.6949 MB / 0.7151 GB, free: 6.938 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.5258, allocations: 222.9 kB / 0.7153 GB, free: 6.715 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.526, allocations: 70.81 kB / 0.7153 GB, free: 6.668 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.5275, allocations: 0.9129 MB / 0.7162 GB, free: 6.059 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.5275, allocations: 4 kB / 0.7162 GB, free: 6.055 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/0.5276, allocations: 30.44 kB / 0.7163 GB, free: 6.047 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.5276, allocations: 19.94 kB / 0.7163 GB, free: 6.027 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.529, allocations: 0.8135 MB / 0.7171 GB, free: 5.512 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004806/0.5338, allocations: 2.997 MB / 0.72 GB, free: 3.117 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.5352, allocations: 1.043 MB / 0.721 GB, free: 2.297 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007544/0.5359, allocations: 0.5259 MB / 0.7215 GB, free: 2.008 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.536, allocations: 16.72 kB / 0.7216 GB, free: 1.992 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.5361, allocations: 46.28 kB / 0.7216 GB, free: 1.945 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 4.227e-06/0.5361, allocations: 0 / 0.7216 GB, free: 1.945 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.01068/0.5468, allocations: 3.515 MB / 0.725 GB, free: 14.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.5468, allocations: 87.89 kB / 0.7251 GB, free: 14.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/0.5477, allocations: 0.7435 MB / 0.7258 GB, free: 14.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.237e-05/0.5478, allocations: 42.02 kB / 0.7259 GB, free: 14.19 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.5481, allocations: 477.2 kB / 0.7263 GB, free: 13.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.5484, allocations: 313.3 kB / 0.7266 GB, free: 13.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.5484, allocations: 17.94 kB / 0.7267 GB, free: 13.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5485, allocations: 333.1 kB / 0.727 GB, free: 13.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006552/0.5492, allocations: 417.2 kB / 0.7274 GB, free: 13.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.5499, allocations: 0.5128 MB / 0.7279 GB, free: 12.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.5506, allocations: 443.7 kB / 0.7283 GB, free: 12.49 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5507, allocations: 0 / 0.7283 GB, free: 12.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01082/0.5615, allocations: 3.667 MB / 0.7319 GB, free: 9.355 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002821/0.5618, allocations: 0.8851 MB / 0.7327 GB, free: 8.422 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5618, allocations: 0 / 0.7327 GB, free: 8.422 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005025/0.5668, allocations: 1.528 MB / 0.7342 GB, free: 7.098 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.5675, allocations: 135 kB / 0.7344 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/0.5705, allocations: 1.774 MB / 0.7361 GB, free: 5.633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.5717, allocations: 192.9 kB / 0.7363 GB, free: 5.457 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-05/0.5718, allocations: 30.98 kB / 0.7363 GB, free: 5.434 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.5718, allocations: 4 kB / 0.7363 GB, free: 5.43 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01047/0.5823, allocations: 3.506 MB / 0.7397 GB, free: 2.465 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5824, allocations: 4 kB / 0.7397 GB, free: 2.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004888/0.5872, allocations: 1.521 MB / 0.7412 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.5879, allocations: 143 kB / 0.7414 GB, free: 1.004 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.6012, allocations: 6.965 MB / 0.7482 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.6024, allocations: 175.1 kB / 0.7483 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.6025, allocations: 31.98 kB / 0.7484 GB, free: 10.96 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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: 1 (thLoad.Limiter.local_reset) * 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 {20 22} Notification: Performance of prepare postOptimizeDAE: time 0.000242/0.6027, allocations: 153 kB / 0.7485 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.6029, allocations: 110.6 kB / 0.7486 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/0.6135, allocations: 3.627 MB / 0.7522 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/0.6135, allocations: 8 kB / 0.7522 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.6135, allocations: 0 / 0.7522 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.6136, allocations: 3.984 kB / 0.7522 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.6256, allocations: 5.071 MB / 0.7571 GB, free: 1.855 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.6256, allocations: 0 / 0.7571 GB, free: 1.855 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/0.6263, allocations: 123.9 kB / 0.7572 GB, free: 1.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004862/0.6312, allocations: 1.46 MB / 0.7587 GB, free: 276 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.6314, allocations: 19.95 kB / 0.7587 GB, free: 256 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.6444, allocations: 6.173 MB / 0.7647 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6444, allocations: 3.984 kB / 0.7647 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/0.6568, allocations: 4.351 MB / 0.769 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.6572, allocations: 203.4 kB / 0.7692 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.6574, allocations: 16 kB / 0.7692 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.6587, allocations: 135.9 kB / 0.7693 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000628/0.6593, allocations: 196.4 kB / 0.7695 GB, free: 5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.6595, allocations: 16.12 kB / 0.7695 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009042/0.6604, allocations: 0.5885 MB / 0.7701 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6604, allocations: 4 kB / 0.7701 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001861/0.6623, allocations: 0.5616 MB / 0.7706 GB, free: 3.816 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,thLoad.firstOrder.state,thLoad.Limiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * 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 {21 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.000385/0.6627, allocations: 151 kB / 0.7708 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008495/0.6712, allocations: 2.986 MB / 0.7737 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6712, allocations: 0 / 0.7737 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003953/0.6752, allocations: 1.379 MB / 0.775 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007287/0.6759, allocations: 96.27 kB / 0.7751 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.6796, allocations: 1.554 MB / 0.7766 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/0.6804, allocations: 1.099 MB / 0.7777 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008382/0.6812, allocations: 184.3 kB / 0.7779 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.6814, allocations: 43.42 kB / 0.7779 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/0.6814, allocations: 4 kB / 0.7779 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of Templates: time 0.03686/0.7183, allocations: 24.04 MB / 0.8014 GB, free: 4.184 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)