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") [: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.002307/0.002307, allocations: 181.2 kB / 7.455 MB, free: 2.496 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.416/1.416, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0009487/0.0009487, allocations: 110.4 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4293/0.4293, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.272e-06, allocations: 0 / 484.3 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3115, allocations: 69.34 MB / 0.5407 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.4477, allocations: 98.7 MB / 0.6371 GB, free: 6.023 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.448, allocations: 75.95 kB / 0.6372 GB, free: 5.949 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07491/0.5229, allocations: 24.66 MB / 0.6612 GB, free: 13.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.005e-05/0.523, allocations: 24 kB / 0.6613 GB, free: 13.1 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.00484/0.5278, allocations: 1.68 MB / 0.6629 GB, free: 11.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5279, allocations: 8.031 kB / 0.6629 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.5314, allocations: 0.4979 MB / 0.6634 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.533, allocations: 0.6925 MB / 0.6641 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.5333, allocations: 194.5 kB / 0.6643 GB, free: 9.895 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.5335, allocations: 51.84 kB / 0.6643 GB, free: 9.844 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001674/0.5352, allocations: 0.7733 MB / 0.6651 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.5368, allocations: 0.8189 MB / 0.6659 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.5369, allocations: 0 / 0.6659 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.537, allocations: 4 kB / 0.6659 GB, free: 8.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.537, allocations: 16 kB / 0.6659 GB, free: 8.215 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006782/0.5438, allocations: 2.884 MB / 0.6687 GB, free: 5.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.5451, allocations: 0.6692 MB / 0.6694 GB, free: 4.555 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000869/0.546, allocations: 0.5053 MB / 0.6699 GB, free: 4.047 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.5461, allocations: 16.78 kB / 0.6699 GB, free: 4.027 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.5462, allocations: 43.33 kB / 0.6699 GB, free: 3.977 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 5.77e-06/0.5462, allocations: 7.922 kB / 0.6699 GB, free: 3.969 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01186/0.5581, allocations: 3.659 MB / 0.6735 GB, free: 304 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.5581, allocations: 85.89 kB / 0.6736 GB, free: 200 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1598/0.718, allocations: 0.6638 MB / 0.6742 GB, free: 143.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.7183, allocations: 25.7 kB / 0.6742 GB, free: 143.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.7184, allocations: 302.7 kB / 0.6745 GB, free: 143 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.7187, allocations: 302.6 kB / 0.6748 GB, free: 142.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.7188, allocations: 3.969 kB / 0.6748 GB, free: 142.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.7188, allocations: 333.5 kB / 0.6751 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006682/0.7195, allocations: 405 kB / 0.6755 GB, free: 142.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006744/0.7202, allocations: 0.4982 MB / 0.676 GB, free: 142.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/0.7209, allocations: 438.3 kB / 0.6764 GB, free: 142.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7209, allocations: 0 / 0.6764 GB, free: 142.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01095/0.7319, allocations: 3.799 MB / 0.6801 GB, free: 142.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.732, allocations: 0.876 MB / 0.681 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.732, allocations: 3.344 kB / 0.681 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005064/0.7371, allocations: 1.519 MB / 0.6825 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.7378, allocations: 144.7 kB / 0.6826 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/0.7412, allocations: 1.963 MB / 0.6845 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.7424, allocations: 178.5 kB / 0.6847 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.747e-05/0.7425, allocations: 29.92 kB / 0.6847 GB, free: 140.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.7425, allocations: 3.938 kB / 0.6847 GB, free: 140.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01049/0.753, allocations: 3.619 MB / 0.6883 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7531, allocations: 6.656 kB / 0.6883 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004914/0.758, allocations: 1.514 MB / 0.6898 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/0.7587, allocations: 139.8 kB / 0.6899 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.7717, allocations: 6.19 MB / 0.6959 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.7731, allocations: 165.2 kB / 0.6961 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.7733, allocations: 28.81 kB / 0.6961 GB, free: 139 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 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.0002787/0.7735, allocations: 128.6 kB / 0.6962 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.7738, allocations: 115.1 kB / 0.6964 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.7855, allocations: 3.744 MB / 0.7 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.7855, allocations: 12.77 kB / 0.7 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7855, allocations: 1.188 kB / 0.7 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.7855, allocations: 3 kB / 0.7 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.7983, allocations: 4.978 MB / 0.7049 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.7983, allocations: 4.516 kB / 0.7049 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/0.7991, allocations: 123.4 kB / 0.705 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004799/0.8039, allocations: 1.504 MB / 0.7065 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.832e-05/0.804, allocations: 2.406 kB / 0.7065 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/0.8156, allocations: 5.602 MB / 0.712 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.8156, allocations: 3.562 kB / 0.712 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0118/0.8274, allocations: 4.475 MB / 0.7163 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/0.8278, allocations: 198.8 kB / 0.7165 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.8281, allocations: 2.969 kB / 0.7165 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.8292, allocations: 137.2 kB / 0.7167 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/0.8295, allocations: 112.3 kB / 0.7168 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/0.8296, allocations: 22.02 kB / 0.7168 GB, free: 134.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006196/0.8302, allocations: 0.5117 MB / 0.7173 GB, free: 134.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001428/0.8316, allocations: 0.506 MB / 0.7178 GB, free: 134.4 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.0002454/0.8319, allocations: 131.8 kB / 0.7179 GB, free: 134.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007921/0.8398, allocations: 2.946 MB / 0.7208 GB, free: 133.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8398, allocations: 0 / 0.7208 GB, free: 133.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003643/0.8435, allocations: 1.32 MB / 0.7221 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.8441, allocations: 79.97 kB / 0.7221 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.8483, allocations: 1.575 MB / 0.7237 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006877/0.8491, allocations: 1.131 MB / 0.7248 GB, free: 131.5 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.8491, allocations: 4 kB / 0.7248 GB, free: 131.5 MB / 490.7 MB Notification: Performance of Templates: time 0.03446/0.8835, allocations: 25.07 MB / 0.7493 GB, free: 118.2 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)