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: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) [: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.004451/0.004451, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.249/1.249, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.0009161/0.0009162, allocations: 98.55 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4784/0.4784, allocations: 78.07 MB / 409 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1591/0.6376, allocations: 75.48 MB / 484.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.9993, allocations: 69.34 MB / 0.5408 GB, free: 21.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/1.134, allocations: 103.2 MB / 0.6416 GB, free: 1.582 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.135, allocations: 71.97 kB / 0.6416 GB, free: 1.512 MB / 458.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.5281/1.663, allocations: 98.51 MB / 0.7378 GB, free: 70.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/1.663, allocations: 8 kB / 0.7379 GB, free: 70.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008574/1.671, allocations: 1.338 MB / 0.7392 GB, free: 68.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/1.676, allocations: 1.851 MB / 0.741 GB, free: 66.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006407/1.677, allocations: 0.6067 MB / 0.7416 GB, free: 66.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007135/1.678, allocations: 119.9 kB / 0.7417 GB, free: 66.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004672/1.682, allocations: 2.202 MB / 0.7438 GB, free: 63.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/1.686, allocations: 1.945 MB / 0.7457 GB, free: 61.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/1.686, allocations: 0 / 0.7457 GB, free: 61.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/1.686, allocations: 8 kB / 0.7457 GB, free: 61.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/1.686, allocations: 47.94 kB / 0.7458 GB, free: 61.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/1.708, allocations: 10.59 MB / 0.7561 GB, free: 50.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003651/1.712, allocations: 2.128 MB / 0.7582 GB, free: 48.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/1.714, allocations: 1.409 MB / 0.7596 GB, free: 47.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/1.714, allocations: 49.94 kB / 0.7596 GB, free: 47.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/1.714, allocations: 64.56 kB / 0.7597 GB, free: 47.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 7.534e-06/1.714, allocations: 0 / 0.7597 GB, free: 47.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03381/1.748, allocations: 11.31 MB / 0.7707 GB, free: 35.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/1.748, allocations: 77.41 kB / 0.7708 GB, free: 35.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/1.752, allocations: 2.158 MB / 0.7729 GB, free: 33.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008214/1.753, allocations: 29.7 kB / 0.7729 GB, free: 33.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/1.753, allocations: 0.7032 MB / 0.7736 GB, free: 32.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002061/1.755, allocations: 0.835 MB / 0.7744 GB, free: 31.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/1.756, allocations: 0 / 0.7744 GB, free: 31.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/1.756, allocations: 394.5 kB / 0.7748 GB, free: 31.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/1.758, allocations: 1.133 MB / 0.7759 GB, free: 30.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/1.76, allocations: 1.383 MB / 0.7773 GB, free: 28.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/1.762, allocations: 1.261 MB / 0.7785 GB, free: 27.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/1.762, allocations: 0 / 0.7785 GB, free: 27.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007694/1.77, allocations: 4.003 MB / 0.7824 GB, free: 23.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.77, allocations: 4.688 kB / 0.7824 GB, free: 23.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.77, allocations: 4 kB / 0.7824 GB, free: 23.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01606/1.786, allocations: 5.152 MB / 0.7875 GB, free: 18.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/1.788, allocations: 303.5 kB / 0.7877 GB, free: 18.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/1.798, allocations: 4.995 MB / 0.7926 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004789/1.803, allocations: 453.9 kB / 0.7931 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004936/1.803, allocations: 83.97 kB / 0.7931 GB, free: 12.61 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.0005565/1.804, allocations: 135.4 kB / 0.7933 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009362/1.805, allocations: 343.7 kB / 0.7936 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03259/1.837, allocations: 11.58 MB / 0.8049 GB, free: 500 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.895e-05/1.838, allocations: 28 kB / 0.8049 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.838, allocations: 0 / 0.8049 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-05/1.838, allocations: 11.95 kB / 0.8049 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04262/1.88, allocations: 15.05 MB / 0.8196 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/1.88, allocations: 0 / 0.8196 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/1.883, allocations: 263.6 kB / 0.8199 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0152/1.898, allocations: 4.536 MB / 0.8243 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000721/1.899, allocations: 19.89 kB / 0.8243 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03857/1.937, allocations: 14.77 MB / 0.8388 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.937, allocations: 3.984 kB / 0.8388 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04025/1.977, allocations: 13.44 MB / 0.8519 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0451/2.023, allocations: 15.81 MB / 0.8673 GB, free: 56 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/2.025, allocations: 496.2 kB / 0.8678 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/2.026, allocations: 8 kB / 0.8678 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004168/2.03, allocations: 335.7 kB / 0.8681 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/2.031, allocations: 301.4 kB / 0.8684 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/2.032, allocations: 67.98 kB / 0.8685 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.00314/2.035, allocations: 1.626 MB / 0.8701 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004012/2.039, allocations: 0.8814 MB / 0.8709 GB, free: 12.35 MB / 0.5573 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.0006681/2.039, allocations: 304.9 kB / 0.8712 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01368/2.053, allocations: 4.674 MB / 0.8758 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/2.053, allocations: 0 / 0.8758 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01123/2.064, allocations: 3.507 MB / 0.8792 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/2.067, allocations: 215 kB / 0.8794 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2654/2.332, allocations: 5.048 MB / 0.8843 GB, free: 187.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002394/2.335, allocations: 2.164 MB / 0.8865 GB, free: 186.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.513e-06/2.335, allocations: 0 / 0.8865 GB, free: 186.7 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)