Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.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.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,tolerance=0.001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE") [: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.002017/0.002017, allocations: 176.8 kB / 7.453 MB, free: 2.508 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.47/1.47, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.0009837/0.0009837, allocations: 93.72 kB / 280.1 MB, free: 1.184 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4211/0.4211, allocations: 78.05 MB / 408.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.5e-06, allocations: 0 / 484.3 MB, free: 4.293 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2974, allocations: 69.34 MB / 0.5407 GB, free: 21.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.419, allocations: 103.2 MB / 0.6415 GB, free: 1.352 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.4192, allocations: 67.97 kB / 0.6416 GB, free: 1.285 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.47/0.8892, allocations: 94.38 MB / 0.7337 GB, free: 73.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001314/0.8894, allocations: 56 kB / 0.7338 GB, free: 73.79 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: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.0109/0.9003, allocations: 4.068 MB / 0.7377 GB, free: 69.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.9003, allocations: 8.031 kB / 0.7378 GB, free: 69.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008059/0.9084, allocations: 1.338 MB / 0.7391 GB, free: 68.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.9118, allocations: 1.851 MB / 0.7409 GB, free: 66.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005846/0.9124, allocations: 0.6082 MB / 0.7415 GB, free: 65.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003902/0.9128, allocations: 119.9 kB / 0.7416 GB, free: 65.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00375/0.9166, allocations: 2.21 MB / 0.7437 GB, free: 63.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/0.92, allocations: 1.948 MB / 0.7456 GB, free: 61.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.9201, allocations: 0 / 0.7456 GB, free: 61.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/0.9203, allocations: 0 / 0.7456 GB, free: 61.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.9203, allocations: 51.98 kB / 0.7457 GB, free: 61.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01762/0.938, allocations: 10.58 MB / 0.756 GB, free: 50.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.9415, allocations: 2.132 MB / 0.7581 GB, free: 48.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.9433, allocations: 1.417 MB / 0.7595 GB, free: 46.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000264/0.9436, allocations: 53.94 kB / 0.7595 GB, free: 46.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.9436, allocations: 56.56 kB / 0.7596 GB, free: 46.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 4.929e-06/0.9437, allocations: 0 / 0.7596 GB, free: 46.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03424/0.9779, allocations: 11.31 MB / 0.7706 GB, free: 35.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.9779, allocations: 77.41 kB / 0.7707 GB, free: 35.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003283/0.9812, allocations: 2.162 MB / 0.7728 GB, free: 33.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004963/0.9817, allocations: 25.7 kB / 0.7728 GB, free: 33.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.9821, allocations: 0.6954 MB / 0.7735 GB, free: 32.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001474/0.9836, allocations: 0.8428 MB / 0.7743 GB, free: 31.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.9838, allocations: 0 / 0.7743 GB, free: 31.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.9839, allocations: 390.5 kB / 0.7747 GB, free: 31.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.9857, allocations: 1.133 MB / 0.7758 GB, free: 30.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.9876, allocations: 1.387 MB / 0.7772 GB, free: 28.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.9899, allocations: 1.257 MB / 0.7784 GB, free: 27.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.9899, allocations: 0 / 0.7784 GB, free: 27.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007202/0.9972, allocations: 4.003 MB / 0.7823 GB, free: 23.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.9972, allocations: 8.094 kB / 0.7823 GB, free: 23.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.9972, allocations: 8 kB / 0.7823 GB, free: 23.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01679/1.014, allocations: 5.148 MB / 0.7874 GB, free: 18.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/1.016, allocations: 307.5 kB / 0.7877 GB, free: 17.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.026, allocations: 4.991 MB / 0.7925 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/1.03, allocations: 449.9 kB / 0.793 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002826/1.031, allocations: 83.97 kB / 0.793 GB, free: 12.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 169 * 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 {62 60} Notification: Performance of prepare postOptimizeDAE: time 0.0004549/1.031, allocations: 136.6 kB / 0.7932 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005933/1.032, allocations: 339.7 kB / 0.7935 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03463/1.066, allocations: 11.58 MB / 0.8048 GB, free: 80 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/1.066, allocations: 24 kB / 0.8048 GB, free: 56 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.066, allocations: 0 / 0.8048 GB, free: 56 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.943e-05/1.066, allocations: 15.95 kB / 0.8048 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04242/1.109, allocations: 15.05 MB / 0.8195 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/1.109, allocations: 0 / 0.8195 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.111, allocations: 267.6 kB / 0.8198 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01564/1.127, allocations: 4.536 MB / 0.8242 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006252/1.127, allocations: 19.89 kB / 0.8242 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03922/1.166, allocations: 14.78 MB / 0.8387 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.166, allocations: 0 / 0.8387 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04207/1.209, allocations: 13.43 MB / 0.8518 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.21, allocations: 0.4922 MB / 0.8523 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/1.211, allocations: 0 / 0.8523 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003692/1.215, allocations: 335.7 kB / 0.8526 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008833/1.216, allocations: 297.5 kB / 0.8529 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.216, allocations: 63.98 kB / 0.8529 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002772/1.219, allocations: 1.634 MB / 0.8545 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002983/1.222, allocations: 0.8697 MB / 0.8554 GB, free: 11.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (g1.gENSAL.w,g1.gENSAL.delta,g1.gENSAL.Epq,g1.gENSAL.PSIkd,g1.gENSAL.PSIppq,g2.gENSAL.w,g2.gENSAL.delta,g2.gENSAL.Epq,g2.gENSAL.PSIkd,g2.gENSAL.PSIppq,g3.gENSAL.w,g3.gENSAL.delta,g3.gENSAL.Epq,g3.gENSAL.PSIkd,g3.gENSAL.PSIppq,g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIppq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 155 * 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 {54 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006454/1.222, allocations: 304.9 kB / 0.8557 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01409/1.237, allocations: 4.67 MB / 0.8602 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.237, allocations: 4 kB / 0.8602 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01187/1.248, allocations: 3.507 MB / 0.8636 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/1.251, allocations: 217.1 kB / 0.8639 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/1.264, allocations: 5.031 MB / 0.8688 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00241/1.267, allocations: 2.061 MB / 0.8708 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of SimCode: time 1.162e-06/1.267, allocations: 0 / 0.8708 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of Templates: time 0.2423/1.509, allocations: 46.54 MB / 0.9162 GB, free: 184.5 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.makefile (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)