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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002727/0.002727, allocations: 186.3 kB / 7.46 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0008888/0.0008888, allocations: 92.72 kB / 261.1 MB, free: 13.55 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.08413/0.08413, allocations: 12.59 MB / 321.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2988/0.2988, allocations: 78.04 MB / 450.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.643e-05, allocations: 4 kB / 0.5141 GB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 69.32 MB / 0.5818 GB, free: 8.781 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4695/0.6337, allocations: 100.3 MB / 0.6798 GB, free: 8.105 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.634, allocations: 78.45 kB / 0.6799 GB, free: 8.066 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.06571/0.6997, allocations: 24.06 MB / 0.7034 GB, free: 4.309 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001011/0.6999, allocations: 24 kB / 0.7034 GB, free: 4.285 MB / 442.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.005369/0.7052, allocations: 1.679 MB / 0.705 GB, free: 2.668 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.631e-05/0.7053, allocations: 11.97 kB / 0.7051 GB, free: 2.656 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.7086, allocations: 0.4959 MB / 0.7055 GB, free: 2.199 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.7105, allocations: 0.6945 MB / 0.7062 GB, free: 1.586 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.7108, allocations: 202.4 kB / 0.7064 GB, free: 1.363 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/0.7111, allocations: 40 kB / 0.7064 GB, free: 1.324 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001702/0.7128, allocations: 0.7734 MB / 0.7072 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.7144, allocations: 0.8208 MB / 0.708 GB, free: 272 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.7145, allocations: 0 / 0.708 GB, free: 272 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-05/0.7146, allocations: 4 kB / 0.708 GB, free: 268 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.7146, allocations: 16 kB / 0.708 GB, free: 252 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006031/0.7207, allocations: 2.895 MB / 0.7108 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.7219, allocations: 0.6597 MB / 0.7115 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/0.7227, allocations: 0.5028 MB / 0.712 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.7229, allocations: 20.45 kB / 0.712 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.7229, allocations: 38.91 kB / 0.712 GB, free: 13.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=89): time 4.228e-06/0.7229, allocations: 0 / 0.712 GB, free: 13.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=89): time 0.01182/0.7347, allocations: 3.67 MB / 0.7156 GB, free: 9.977 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.7348, allocations: 85.89 kB / 0.7157 GB, free: 9.875 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.7363, allocations: 0.671 MB / 0.7164 GB, free: 9.359 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.7365, allocations: 25.7 kB / 0.7164 GB, free: 9.328 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.7368, allocations: 303.2 kB / 0.7167 GB, free: 9.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005542/0.7374, allocations: 303.9 kB / 0.717 GB, free: 8.805 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.7375, allocations: 0 / 0.717 GB, free: 8.805 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7376, allocations: 340.5 kB / 0.7173 GB, free: 8.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007691/0.7384, allocations: 401.6 kB / 0.7177 GB, free: 8.266 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008605/0.7393, allocations: 0.4971 MB / 0.7182 GB, free: 7.934 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008194/0.7401, allocations: 443.7 kB / 0.7186 GB, free: 7.684 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7401, allocations: 4.031 kB / 0.7186 GB, free: 7.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0116/0.7517, allocations: 3.793 MB / 0.7223 GB, free: 4.387 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000386/0.7521, allocations: 0.875 MB / 0.7231 GB, free: 3.457 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.7522, allocations: 4 kB / 0.7231 GB, free: 3.453 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005416/0.7576, allocations: 1.526 MB / 0.7246 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008109/0.7584, allocations: 139 kB / 0.7248 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/0.7621, allocations: 1.965 MB / 0.7267 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.7638, allocations: 179.3 kB / 0.7269 GB, free: 384 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.764, allocations: 34.48 kB / 0.7269 GB, free: 356 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.764, allocations: 4 kB / 0.7269 GB, free: 352 kB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01127/0.7753, allocations: 3.613 MB / 0.7304 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.7753, allocations: 0 / 0.7304 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005546/0.7809, allocations: 1.52 MB / 0.7319 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.782, allocations: 143.4 kB / 0.732 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.7975, allocations: 6.191 MB / 0.7381 GB, free: 6.953 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.7993, allocations: 167.3 kB / 0.7383 GB, free: 6.789 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/0.7995, allocations: 35.89 kB / 0.7383 GB, free: 6.754 MB / 474.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: thLoad.Limiter1.y:VARIABLE() "Connector of Real output signal" 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.0005045/0.8001, allocations: 124.7 kB / 0.7384 GB, free: 6.625 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005118/0.8006, allocations: 110.6 kB / 0.7385 GB, free: 6.516 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/0.8124, allocations: 3.746 MB / 0.7422 GB, free: 2.746 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.251e-05/0.8125, allocations: 8 kB / 0.7422 GB, free: 2.738 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.8125, allocations: 0 / 0.7422 GB, free: 2.738 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/0.8125, allocations: 7.984 kB / 0.7422 GB, free: 2.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.827, allocations: 4.988 MB / 0.7471 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.8271, allocations: 0 / 0.7471 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008839/0.828, allocations: 123.9 kB / 0.7472 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005059/0.8331, allocations: 1.503 MB / 0.7486 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/0.8333, allocations: 4 kB / 0.7486 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.8466, allocations: 5.59 MB / 0.7541 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/0.8467, allocations: 3.984 kB / 0.7541 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01317/0.8599, allocations: 4.471 MB / 0.7585 GB, free: 1.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/0.8605, allocations: 195.5 kB / 0.7587 GB, free: 1.609 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004099/0.861, allocations: 4 kB / 0.7587 GB, free: 1.605 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.8623, allocations: 135.9 kB / 0.7588 GB, free: 1.473 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003728/0.8627, allocations: 112.6 kB / 0.7589 GB, free: 1.363 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-05/0.8628, allocations: 16 kB / 0.7589 GB, free: 1.348 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009822/0.8638, allocations: 0.5245 MB / 0.7594 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00221/0.866, allocations: 0.5184 MB / 0.7599 GB, free: 300 kB / 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.0004023/0.8665, allocations: 126.5 kB / 0.7601 GB, free: 168 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008647/0.8751, allocations: 2.94 MB / 0.7629 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8752, allocations: 0 / 0.7629 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00398/0.8791, allocations: 1.339 MB / 0.7642 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.8803, allocations: 71.33 kB / 0.7643 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006073/0.8864, allocations: 1.584 MB / 0.7658 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.8877, allocations: 1.139 MB / 0.767 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of SimCode: time 2.094e-06/0.8877, allocations: 0 / 0.767 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of Templates: time 0.04854/0.9362, allocations: 25.06 MB / 0.7914 GB, free: 15.93 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)