Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2") [: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.001854/0.001855, allocations: 180.3 kB / 7.458 MB, free: 2.516 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.046/1.046, allocations: 221.4 MB / 229.3 MB, free: 3.254 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.0008408/0.0008408, allocations: 100.4 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3573/0.3573, allocations: 78.11 MB / 409 MB, free: 15.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.828e-06/9.848e-06, allocations: 0 / 484.4 MB, free: 4.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2237, allocations: 69.34 MB / 0.5408 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09777/0.3215, allocations: 96.23 MB / 0.6347 GB, free: 8.715 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.3217, allocations: 79.95 kB / 0.6348 GB, free: 8.637 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.0566/0.3783, allocations: 22.7 MB / 0.657 GB, free: 1.758 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.677e-05/0.3784, allocations: 19.94 kB / 0.657 GB, free: 1.738 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.004004/0.3824, allocations: 1.648 MB / 0.6586 GB, free: 44 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.3824, allocations: 12.03 kB / 0.6586 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/0.3856, allocations: 0.5567 MB / 0.6592 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.3868, allocations: 0.6797 MB / 0.6598 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.3871, allocations: 244.1 kB / 0.6601 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.3872, allocations: 36 kB / 0.6601 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001295/0.3885, allocations: 0.7498 MB / 0.6608 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.3897, allocations: 0.6908 MB / 0.6615 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3897, allocations: 0 / 0.6615 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.3898, allocations: 3.984 kB / 0.6615 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.3898, allocations: 16 kB / 0.6615 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005129/0.3949, allocations: 3.139 MB / 0.6646 GB, free: 9.688 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008314/0.3958, allocations: 0.5068 MB / 0.6651 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007349/0.3965, allocations: 0.5067 MB / 0.6656 GB, free: 8.668 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.685e-05/0.3966, allocations: 12.64 kB / 0.6656 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.3967, allocations: 47.22 kB / 0.6656 GB, free: 8.602 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 1.964e-06/0.3967, allocations: 0 / 0.6656 GB, free: 8.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.01191/0.4086, allocations: 4.175 MB / 0.6697 GB, free: 4.414 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.4086, allocations: 60.06 kB / 0.6698 GB, free: 4.344 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006956/0.4093, allocations: 0.6105 MB / 0.6704 GB, free: 3.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.946e-05/0.4094, allocations: 25.7 kB / 0.6704 GB, free: 3.699 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.4096, allocations: 288.2 kB / 0.6707 GB, free: 3.414 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.4098, allocations: 279.8 kB / 0.6709 GB, free: 3.137 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.4099, allocations: 4 kB / 0.6709 GB, free: 3.133 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.41, allocations: 330 kB / 0.6712 GB, free: 2.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006345/0.4106, allocations: 405.5 kB / 0.6716 GB, free: 2.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/0.4113, allocations: 491.6 kB / 0.6721 GB, free: 1.898 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/0.412, allocations: 429.2 kB / 0.6725 GB, free: 1.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.412, allocations: 4 kB / 0.6725 GB, free: 1.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.1362/0.5483, allocations: 4.243 MB / 0.6767 GB, free: 143.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5483, allocations: 7.656 kB / 0.6767 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5483, allocations: 0 / 0.6767 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00502/0.5534, allocations: 1.75 MB / 0.6784 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.554, allocations: 131.1 kB / 0.6785 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.5658, allocations: 6.379 MB / 0.6847 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009877/0.5668, allocations: 167.1 kB / 0.6849 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/0.5669, allocations: 30.09 kB / 0.6849 GB, free: 142.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" ) "q-axis transient voltage" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.5671, allocations: 125.6 kB / 0.685 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.5672, allocations: 102.7 kB / 0.6851 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.5778, allocations: 4.253 MB / 0.6893 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.5779, allocations: 7.844 kB / 0.6893 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.5779, allocations: 0 / 0.6893 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.5779, allocations: 6.609 kB / 0.6893 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.5898, allocations: 5.528 MB / 0.6947 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.5898, allocations: 0 / 0.6947 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.5903, allocations: 102.3 kB / 0.6948 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005108/0.5955, allocations: 1.727 MB / 0.6965 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/0.5955, allocations: 2.562 kB / 0.6965 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/0.6067, allocations: 5.659 MB / 0.702 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6067, allocations: 3.906 kB / 0.702 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01171/0.6184, allocations: 4.967 MB / 0.7069 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.6186, allocations: 183.1 kB / 0.707 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.6188, allocations: 2.688 kB / 0.707 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008978/0.6197, allocations: 133 kB / 0.7072 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.62, allocations: 113.1 kB / 0.7073 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.141e-05/0.6201, allocations: 22 kB / 0.7073 GB, free: 139 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004492/0.6205, allocations: 483.5 kB / 0.7078 GB, free: 138.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008209/0.6213, allocations: 360.6 kB / 0.7081 GB, free: 138.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000195/0.6215, allocations: 126.1 kB / 0.7082 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004095/0.6256, allocations: 1.861 MB / 0.71 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6257, allocations: 0 / 0.71 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003456/0.6291, allocations: 1.389 MB / 0.7114 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.6295, allocations: 50.72 kB / 0.7114 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.6318, allocations: 1.25 MB / 0.7127 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/0.6324, allocations: 1.087 MB / 0.7137 GB, free: 137.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6324, allocations: 0 / 0.7137 GB, free: 137.3 MB / 490.7 MB Notification: Performance of Templates: time 0.02067/0.653, allocations: 17.41 MB / 0.7307 GB, free: 135.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)