Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") [: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.002124/0.002124, allocations: 183.9 kB / 7.456 MB, free: 2.512 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.359/1.359, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.0009659/0.0009659, allocations: 108.4 kB / 280.1 MB, free: 1.215 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4062/0.4062, allocations: 78.06 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.915e-06, allocations: 3.938 kB / 484.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2508, allocations: 69.34 MB / 0.5407 GB, free: 21.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.3618, allocations: 96.54 MB / 0.635 GB, free: 8.297 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.3622, allocations: 79.95 kB / 0.6351 GB, free: 8.219 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06804/0.4302, allocations: 22.84 MB / 0.6574 GB, free: 1.207 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.459e-05/0.4303, allocations: 16 kB / 0.6574 GB, free: 1.191 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004873/0.4352, allocations: 1.656 MB / 0.659 GB, free: 15.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4352, allocations: 8.031 kB / 0.659 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00383/0.4391, allocations: 0.5644 MB / 0.6596 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.4407, allocations: 0.6913 MB / 0.6602 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/0.441, allocations: 236.2 kB / 0.6605 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.4412, allocations: 40 kB / 0.6605 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001643/0.4429, allocations: 0.7538 MB / 0.6612 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.4443, allocations: 0.6907 MB / 0.6619 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.4444, allocations: 0 / 0.6619 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.4444, allocations: 0 / 0.6619 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.4445, allocations: 19.91 kB / 0.6619 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006342/0.4508, allocations: 3.143 MB / 0.665 GB, free: 9.117 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009814/0.4518, allocations: 0.5071 MB / 0.6655 GB, free: 8.605 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/0.4526, allocations: 0.5081 MB / 0.666 GB, free: 8.094 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.4528, allocations: 28.69 kB / 0.666 GB, free: 8.062 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.4528, allocations: 51.19 kB / 0.6661 GB, free: 8.004 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 2.675e-06/0.4528, allocations: 0 / 0.6661 GB, free: 8.004 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01363/0.4665, allocations: 4.167 MB / 0.6701 GB, free: 3.824 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.4665, allocations: 68.17 kB / 0.6702 GB, free: 3.746 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009264/0.4675, allocations: 0.6064 MB / 0.6708 GB, free: 3.137 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.4676, allocations: 25.7 kB / 0.6708 GB, free: 3.105 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.4679, allocations: 284.3 kB / 0.6711 GB, free: 2.824 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/0.4682, allocations: 279.8 kB / 0.6713 GB, free: 2.547 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.4683, allocations: 0 / 0.6713 GB, free: 2.547 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4684, allocations: 330 kB / 0.6717 GB, free: 2.219 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007757/0.4692, allocations: 409.5 kB / 0.6721 GB, free: 1.816 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008233/0.4701, allocations: 0.4917 MB / 0.6725 GB, free: 1.297 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008118/0.4709, allocations: 437.2 kB / 0.6729 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4709, allocations: 0 / 0.6729 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.1662/0.6371, allocations: 4.312 MB / 0.6772 GB, free: 144 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.6372, allocations: 6.156 kB / 0.6772 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.6372, allocations: 3.031 kB / 0.6772 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005918/0.6431, allocations: 1.744 MB / 0.6789 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/0.6438, allocations: 114.8 kB / 0.679 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/0.658, allocations: 6.382 MB / 0.6852 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.6594, allocations: 167.4 kB / 0.6854 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.6596, allocations: 31.84 kB / 0.6854 GB, free: 142.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-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 (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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002907/0.6599, allocations: 116.4 kB / 0.6855 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.6601, allocations: 101.8 kB / 0.6856 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/0.6726, allocations: 4.256 MB / 0.6898 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.6726, allocations: 11.56 kB / 0.6898 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.6727, allocations: 0 / 0.6898 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.6727, allocations: 3.75 kB / 0.6898 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.6873, allocations: 5.524 MB / 0.6952 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.6873, allocations: 1 kB / 0.6952 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/0.688, allocations: 102.2 kB / 0.6953 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005816/0.6938, allocations: 1.73 MB / 0.697 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.694, allocations: 5.516 kB / 0.697 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.707, allocations: 5.631 MB / 0.7025 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.7071, allocations: 5.25 kB / 0.7025 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01433/0.7214, allocations: 4.986 MB / 0.7073 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.7217, allocations: 189.3 kB / 0.7075 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.722, allocations: 1.219 kB / 0.7075 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.7231, allocations: 132.3 kB / 0.7077 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/0.7234, allocations: 118.6 kB / 0.7078 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.143e-05/0.7235, allocations: 26.91 kB / 0.7078 GB, free: 139.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005705/0.7241, allocations: 473.1 kB / 0.7082 GB, free: 139 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00104/0.7252, allocations: 358 kB / 0.7086 GB, free: 139 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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.0002513/0.7254, allocations: 144.9 kB / 0.7087 GB, free: 138.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004848/0.7303, allocations: 1.849 MB / 0.7105 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7303, allocations: 0.5625 kB / 0.7105 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004037/0.7343, allocations: 1.399 MB / 0.7119 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.7348, allocations: 48.84 kB / 0.7119 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.7381, allocations: 1.307 MB / 0.7132 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006199/0.7387, allocations: 1.089 MB / 0.7143 GB, free: 137.2 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.7387, allocations: 0 / 0.7143 GB, free: 137.2 MB / 490.7 MB Notification: Performance of Templates: time 0.02818/0.7669, allocations: 17.44 MB / 0.7313 GB, free: 134.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)