Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") [: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 4.0.0+maint.om/package.mo): time 0.003008/0.003008, allocations: 178.8 kB / 7.455 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 221.4 MB / 229.3 MB, free: 3.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 102.5 kB / 280.1 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4798/0.4798, allocations: 78.93 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.496e-06, allocations: 4 kB / 485.4 MB, free: 3.617 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.376, allocations: 69.5 MB / 0.5419 GB, free: 20.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.5044, allocations: 96.57 MB / 0.6362 GB, free: 7.266 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.5047, allocations: 75.95 kB / 0.6362 GB, free: 7.191 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05627/0.561, allocations: 20.74 MB / 0.6565 GB, free: 2.297 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.955e-05/0.5611, allocations: 16 kB / 0.6565 GB, free: 2.281 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.004534/0.5657, allocations: 1.512 MB / 0.658 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5657, allocations: 15.97 kB / 0.658 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.5689, allocations: 486.1 kB / 0.6585 GB, free: 232 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.5706, allocations: 0.5979 MB / 0.659 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.5708, allocations: 164.1 kB / 0.6592 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.5711, allocations: 35.94 kB / 0.6592 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001586/0.5727, allocations: 0.6821 MB / 0.6599 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.5741, allocations: 0.617 MB / 0.6605 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.5741, allocations: 4 kB / 0.6605 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.5742, allocations: 4 kB / 0.6605 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.5742, allocations: 15.91 kB / 0.6605 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/0.5791, allocations: 2.344 MB / 0.6628 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.58, allocations: 0.5235 MB / 0.6633 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007047/0.5807, allocations: 470.8 kB / 0.6638 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.5809, allocations: 12.66 kB / 0.6638 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.5809, allocations: 43.22 kB / 0.6638 GB, free: 10.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.525e-06/0.5809, allocations: 0 / 0.6638 GB, free: 10.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.01039/0.5913, allocations: 3.454 MB / 0.6672 GB, free: 7.078 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.5914, allocations: 64.06 kB / 0.6673 GB, free: 7.004 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.5926, allocations: 0.575 MB / 0.6678 GB, free: 6.422 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002201/0.5928, allocations: 25.7 kB / 0.6679 GB, free: 6.391 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.5931, allocations: 272.4 kB / 0.6681 GB, free: 6.121 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/0.5935, allocations: 264.1 kB / 0.6684 GB, free: 5.859 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.5936, allocations: 0 / 0.6684 GB, free: 5.859 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5937, allocations: 326 kB / 0.6687 GB, free: 5.535 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000725/0.5944, allocations: 365.5 kB / 0.669 GB, free: 5.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007414/0.5952, allocations: 441.7 kB / 0.6694 GB, free: 4.719 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007272/0.5959, allocations: 407 kB / 0.6698 GB, free: 4.324 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.596, allocations: 0 / 0.6698 GB, free: 4.324 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.01076/0.6067, allocations: 3.547 MB / 0.6733 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.6068, allocations: 4 kB / 0.6733 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.6068, allocations: 0 / 0.6733 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2283/0.8351, allocations: 1.412 MB / 0.6747 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007688/0.8359, allocations: 122.9 kB / 0.6748 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.8476, allocations: 5.486 MB / 0.6802 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.8489, allocations: 148.9 kB / 0.6803 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.849, allocations: 27.78 kB / 0.6803 GB, free: 142.6 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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {19 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002828/0.8493, allocations: 121.5 kB / 0.6804 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.8496, allocations: 97.72 kB / 0.6805 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009651/0.8593, allocations: 3.518 MB / 0.684 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.8593, allocations: 7.469 kB / 0.684 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.8593, allocations: 7.281 kB / 0.684 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.8594, allocations: 3.703 kB / 0.684 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/0.871, allocations: 4.647 MB / 0.6885 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.8711, allocations: 0 / 0.6885 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/0.8718, allocations: 108.9 kB / 0.6886 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004212/0.876, allocations: 1.384 MB / 0.69 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/0.8762, allocations: 10.78 kB / 0.69 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/0.8871, allocations: 4.79 MB / 0.6947 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.8871, allocations: 4 kB / 0.6947 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0126/0.8997, allocations: 4.201 MB / 0.6988 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000473/0.9002, allocations: 181.6 kB / 0.6989 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004238/0.9007, allocations: 1.188 kB / 0.6989 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.902, allocations: 116.7 kB / 0.6991 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003905/0.9024, allocations: 98.56 kB / 0.6992 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.9025, allocations: 20.31 kB / 0.6992 GB, free: 139.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009152/0.9034, allocations: 460.5 kB / 0.6996 GB, free: 139.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001717/0.9052, allocations: 307.7 kB / 0.6999 GB, free: 139.6 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 (49): * Single equations (assignments): 48 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003817/0.9056, allocations: 123.7 kB / 0.7 GB, free: 139.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004919/0.9105, allocations: 1.61 MB / 0.7016 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9105, allocations: 1.125 kB / 0.7016 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003708/0.9142, allocations: 1.181 MB / 0.7027 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009933/0.9152, allocations: 53.94 kB / 0.7028 GB, free: 139.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004805/0.9201, allocations: 1.223 MB / 0.704 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/0.9212, allocations: 1.059 MB / 0.705 GB, free: 138 MB / 490.7 MB Notification: Performance of SimCode: time 2.063e-06/0.9212, allocations: 1.438 kB / 0.705 GB, free: 138 MB / 490.7 MB Notification: Performance of Templates: time 0.03008/0.9513, allocations: 15.26 MB / 0.7199 GB, free: 137.3 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)