Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.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.Loads.PSAT.LoadTestThLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, 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.303/1.303, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009071/0.0009072, allocations: 99.34 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4424/0.4424, allocations: 78.03 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.988e-05, allocations: 4 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3378, allocations: 69.34 MB / 0.548 GB, free: 20.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.466, allocations: 99.43 MB / 0.645 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4663, allocations: 79.95 kB / 0.6451 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06655/0.5328, allocations: 25.22 MB / 0.6698 GB, free: 7.539 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5329, allocations: 0 / 0.6698 GB, free: 7.539 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.374e-05/0.5329, allocations: 24 kB / 0.6698 GB, free: 7.516 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.00409/0.537, allocations: 1.625 MB / 0.6714 GB, free: 5.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5371, allocations: 15.97 kB / 0.6714 GB, free: 5.824 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.5398, allocations: 489.9 kB / 0.6718 GB, free: 5.344 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.541, allocations: 0.6847 MB / 0.6725 GB, free: 4.605 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/0.5412, allocations: 222.4 kB / 0.6727 GB, free: 4.355 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.5413, allocations: 75.94 kB / 0.6728 GB, free: 4.281 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.543, allocations: 0.9127 MB / 0.6737 GB, free: 3.352 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.543, allocations: 4 kB / 0.6737 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-05/0.5431, allocations: 28 kB / 0.6737 GB, free: 3.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.5431, allocations: 20 kB / 0.6737 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.5445, allocations: 0.8084 MB / 0.6745 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2934/0.8378, allocations: 2.994 MB / 0.6775 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.8395, allocations: 1.037 MB / 0.6785 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008308/0.8404, allocations: 0.5362 MB / 0.679 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.8405, allocations: 16.89 kB / 0.679 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.8405, allocations: 42.16 kB / 0.679 GB, free: 104.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.858e-06/0.8405, allocations: 0 / 0.679 GB, free: 104.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01147/0.852, allocations: 3.517 MB / 0.6825 GB, free: 104.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.8521, allocations: 90.66 kB / 0.6826 GB, free: 104.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.8536, allocations: 0.7442 MB / 0.6833 GB, free: 104.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.8537, allocations: 42.23 kB / 0.6833 GB, free: 104.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.8541, allocations: 471.7 kB / 0.6838 GB, free: 104.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.8545, allocations: 309.8 kB / 0.6841 GB, free: 104.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.8546, allocations: 17.81 kB / 0.6841 GB, free: 104.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.8547, allocations: 339.8 kB / 0.6844 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009321/0.8556, allocations: 411.6 kB / 0.6848 GB, free: 103.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008327/0.8564, allocations: 0.5102 MB / 0.6853 GB, free: 103.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/0.8572, allocations: 453.5 kB / 0.6857 GB, free: 103.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.8573, allocations: 0 / 0.6857 GB, free: 103.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01012/0.8674, allocations: 3.673 MB / 0.6893 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002139/0.8676, allocations: 0.877 MB / 0.6902 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.8677, allocations: 0 / 0.6902 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004816/0.8725, allocations: 1.531 MB / 0.6917 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/0.8733, allocations: 140.6 kB / 0.6918 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.8764, allocations: 1.772 MB / 0.6935 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.8778, allocations: 180.9 kB / 0.6937 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.878, allocations: 33.03 kB / 0.6937 GB, free: 101.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.878, allocations: 3.812 kB / 0.6938 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009604/0.8876, allocations: 3.497 MB / 0.6972 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.8877, allocations: 5.156 kB / 0.6972 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004639/0.8923, allocations: 1.523 MB / 0.6987 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007129/0.8931, allocations: 142.4 kB / 0.6988 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.9061, allocations: 6.971 MB / 0.7056 GB, free: 96.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.9075, allocations: 174.7 kB / 0.7058 GB, free: 96.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.9077, allocations: 31.36 kB / 0.7058 GB, free: 96.69 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.0002937/0.908, allocations: 146.7 kB / 0.7059 GB, free: 96.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/0.9083, allocations: 114.6 kB / 0.706 GB, free: 96.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009879/0.9182, allocations: 3.633 MB / 0.7096 GB, free: 93.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.9182, allocations: 12 kB / 0.7096 GB, free: 93.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.9183, allocations: 3.688 kB / 0.7096 GB, free: 93.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.9183, allocations: 6.891 kB / 0.7096 GB, free: 93.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.9298, allocations: 5.062 MB / 0.7146 GB, free: 89.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.9298, allocations: 2.406 kB / 0.7146 GB, free: 89.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/0.9305, allocations: 127.9 kB / 0.7147 GB, free: 89.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004353/0.9348, allocations: 1.464 MB / 0.7161 GB, free: 88.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.935, allocations: 19.09 kB / 0.7161 GB, free: 88.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.9463, allocations: 6.162 MB / 0.7222 GB, free: 82.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9463, allocations: 0 / 0.7222 GB, free: 82.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/0.957, allocations: 4.356 MB / 0.7264 GB, free: 78.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/0.9574, allocations: 199.5 kB / 0.7266 GB, free: 78.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.9576, allocations: 20 kB / 0.7266 GB, free: 78.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.9587, allocations: 131.9 kB / 0.7267 GB, free: 78.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005353/0.9593, allocations: 196.3 kB / 0.7269 GB, free: 78.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/0.9594, allocations: 24 kB / 0.727 GB, free: 78.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007386/0.9601, allocations: 0.5807 MB / 0.7275 GB, free: 77.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.853e-06/0.9601, allocations: 0 / 0.7275 GB, free: 77.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001548/0.9617, allocations: 0.5623 MB / 0.7281 GB, free: 77.23 MB / 490.7 MB 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.0003181/0.962, allocations: 151.1 kB / 0.7282 GB, free: 77.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00772/0.9697, allocations: 2.985 MB / 0.7311 GB, free: 74.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9698, allocations: 0 / 0.7311 GB, free: 74.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003395/0.9732, allocations: 1.379 MB / 0.7325 GB, free: 72.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006508/0.9738, allocations: 88.28 kB / 0.7326 GB, free: 72.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.9772, allocations: 1.557 MB / 0.7341 GB, free: 71.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.9778, allocations: 1.099 MB / 0.7352 GB, free: 69.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007334/0.9785, allocations: 179 kB / 0.7353 GB, free: 69.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.9787, allocations: 42.38 kB / 0.7354 GB, free: 69.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/0.9787, allocations: 0 / 0.7354 GB, free: 69.7 MB / 490.7 MB Notification: Performance of Templates: time 0.03488/1.014, allocations: 24.05 MB / 0.7588 GB, free: 45.98 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & ./OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)