Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.PSSE.GENSAE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE") translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE") [: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.002843/0.002843, allocations: 180.2 kB / 7.454 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.24/1.24, allocations: 221.4 MB / 229.3 MB, free: 3.051 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.0009881/0.0009881, allocations: 98.98 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4066/0.4066, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.755e-06, allocations: 0 / 484.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2537, allocations: 69.35 MB / 0.5407 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.3966, allocations: 104.8 MB / 0.643 GB, free: 20 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/0.397, allocations: 79.95 kB / 0.6431 GB, free: 15.94 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.323/0.7201, allocations: 34.93 MB / 0.6772 GB, free: 104.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.549e-05/0.7202, allocations: 28.66 kB / 0.6773 GB, free: 104.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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004607/0.7248, allocations: 1.858 MB / 0.6791 GB, free: 103.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.7248, allocations: 10.25 kB / 0.6791 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.7282, allocations: 0.5448 MB / 0.6796 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.7295, allocations: 0.8176 MB / 0.6804 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/0.7298, allocations: 335.8 kB / 0.6807 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.73, allocations: 53.28 kB / 0.6808 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001584/0.7315, allocations: 0.9191 MB / 0.6817 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.7331, allocations: 0.9068 MB / 0.6826 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.7331, allocations: 0 / 0.6826 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.7332, allocations: 3.281 kB / 0.6826 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.7332, allocations: 20.81 kB / 0.6826 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00759/0.7408, allocations: 4.001 MB / 0.6865 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.7421, allocations: 0.8536 MB / 0.6873 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008394/0.743, allocations: 0.6176 MB / 0.6879 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.7431, allocations: 21.14 kB / 0.6879 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.7431, allocations: 43.53 kB / 0.688 GB, free: 101.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=108): time 2.986e-06/0.7431, allocations: 0 / 0.688 GB, free: 101.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=108): time 0.01572/0.7589, allocations: 4.961 MB / 0.6928 GB, free: 100.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.7589, allocations: 89.52 kB / 0.6929 GB, free: 100.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.7602, allocations: 0.8516 MB / 0.6938 GB, free: 100.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.7603, allocations: 25.7 kB / 0.6938 GB, free: 100.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.7605, allocations: 323.8 kB / 0.6941 GB, free: 100.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.7609, allocations: 369.9 kB / 0.6944 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/0.761, allocations: 0 / 0.6944 GB, free: 100.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.7611, allocations: 345.1 kB / 0.6948 GB, free: 99.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007778/0.7619, allocations: 484.5 kB / 0.6952 GB, free: 99.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000819/0.7627, allocations: 0.609 MB / 0.6958 GB, free: 99.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/0.7636, allocations: 0.5376 MB / 0.6963 GB, free: 99.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.7636, allocations: 0 / 0.6963 GB, free: 99.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003037/0.7667, allocations: 1.719 MB / 0.698 GB, free: 98.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.7667, allocations: 7.781 kB / 0.698 GB, free: 98.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.7667, allocations: 3.969 kB / 0.698 GB, free: 98.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008879/0.7756, allocations: 2.297 MB / 0.7003 GB, free: 97.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.7764, allocations: 130.1 kB / 0.7004 GB, free: 97.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005555/0.782, allocations: 2.472 MB / 0.7028 GB, free: 96.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.784, allocations: 202 kB / 0.703 GB, free: 96.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.7841, allocations: 37.7 kB / 0.7031 GB, free: 96.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {29 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002398/0.7844, allocations: 123.2 kB / 0.7032 GB, free: 96.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.7847, allocations: 138.2 kB / 0.7033 GB, free: 96.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01654/0.8012, allocations: 5.129 MB / 0.7083 GB, free: 95.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.8013, allocations: 11.09 kB / 0.7083 GB, free: 95.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.8013, allocations: 1.031 kB / 0.7083 GB, free: 95.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/0.8013, allocations: 8.906 kB / 0.7083 GB, free: 95.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.8191, allocations: 6.614 MB / 0.7148 GB, free: 91.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.8192, allocations: 3.906 kB / 0.7148 GB, free: 91.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007655/0.8199, allocations: 112.4 kB / 0.7149 GB, free: 91.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006849/0.8268, allocations: 2.065 MB / 0.7169 GB, free: 89.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002877/0.8271, allocations: 8 kB / 0.7169 GB, free: 89.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/0.8451, allocations: 7.17 MB / 0.7239 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8452, allocations: 7.938 kB / 0.7239 GB, free: 83.13 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01713/0.8623, allocations: 6.034 MB / 0.7298 GB, free: 77.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.8628, allocations: 231.2 kB / 0.73 GB, free: 77.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.8631, allocations: 7.891 kB / 0.7301 GB, free: 77.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.8646, allocations: 146.8 kB / 0.7302 GB, free: 77.28 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003367/0.8649, allocations: 140.8 kB / 0.7303 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.8651, allocations: 28 kB / 0.7304 GB, free: 77.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007782/0.8658, allocations: 0.6584 MB / 0.731 GB, free: 76.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001125/0.867, allocations: 395.5 kB / 0.7314 GB, free: 76.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002704/0.8673, allocations: 153 kB / 0.7315 GB, free: 75.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006637/0.8739, allocations: 2.132 MB / 0.7336 GB, free: 73.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8739, allocations: 4 kB / 0.7336 GB, free: 73.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005594/0.8795, allocations: 1.711 MB / 0.7353 GB, free: 72.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008453/0.8804, allocations: 92.16 kB / 0.7354 GB, free: 72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.8848, allocations: 1.933 MB / 0.7373 GB, free: 70.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007073/0.8855, allocations: 1.209 MB / 0.7384 GB, free: 68.84 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8856, allocations: 0 / 0.7384 GB, free: 68.84 MB / 490.7 MB Notification: Performance of Templates: time 0.02707/0.9126, allocations: 20.67 MB / 0.7586 GB, free: 48.33 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)