Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_dev_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.004073/0.004073, allocations: 185.6 kB / 7.459 MB, free: 2.52 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.321/1.321, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.001013/0.001012, allocations: 92.22 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4405/0.4405, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1688/0.6093, allocations: 75.64 MB / 485.4 MB, free: 3.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.981, allocations: 69.51 MB / 0.5419 GB, free: 21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/1.122, allocations: 103.9 MB / 0.6434 GB, free: 36 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/1.122, allocations: 68.05 kB / 0.6434 GB, free: 15.96 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: 493 * Number of variables: 493 Notification: Performance of Generate backend data structure: time 0.5128/1.635, allocations: 90.17 MB / 0.7315 GB, free: 76.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.635, allocations: 8 kB / 0.7315 GB, free: 76.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008468/1.644, allocations: 1.334 MB / 0.7328 GB, free: 74.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005245/1.649, allocations: 1.845 MB / 0.7346 GB, free: 73.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007402/1.65, allocations: 0.6028 MB / 0.7352 GB, free: 72.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008951/1.651, allocations: 123.9 kB / 0.7353 GB, free: 72.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00516/1.656, allocations: 2.206 MB / 0.7375 GB, free: 70.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004821/1.661, allocations: 1.945 MB / 0.7394 GB, free: 68.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/1.661, allocations: 0 / 0.7394 GB, free: 68.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/1.661, allocations: 4 kB / 0.7394 GB, free: 68.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/1.661, allocations: 44 kB / 0.7394 GB, free: 68.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01917/1.68, allocations: 10.59 MB / 0.7497 GB, free: 57.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/1.684, allocations: 2.138 MB / 0.7518 GB, free: 55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/1.686, allocations: 1.413 MB / 0.7532 GB, free: 53.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/1.686, allocations: 53.92 kB / 0.7533 GB, free: 53.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.686, allocations: 56.56 kB / 0.7533 GB, free: 53.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 3.857e-06/1.686, allocations: 0 / 0.7533 GB, free: 53.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03276/1.719, allocations: 11.32 MB / 0.7644 GB, free: 42.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/1.719, allocations: 77.41 kB / 0.7644 GB, free: 42.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/1.723, allocations: 2.166 MB / 0.7666 GB, free: 39.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007707/1.723, allocations: 25.7 kB / 0.7666 GB, free: 39.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/1.724, allocations: 0.6954 MB / 0.7673 GB, free: 39.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001562/1.725, allocations: 0.8389 MB / 0.7681 GB, free: 38.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/1.726, allocations: 0 / 0.7681 GB, free: 38.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.954e-05/1.726, allocations: 390.5 kB / 0.7685 GB, free: 37.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/1.727, allocations: 1.133 MB / 0.7696 GB, free: 36.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/1.729, allocations: 1.387 MB / 0.7709 GB, free: 35.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/1.731, allocations: 1.257 MB / 0.7721 GB, free: 34.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.731, allocations: 3.938 kB / 0.7721 GB, free: 34.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007084/1.739, allocations: 4.011 MB / 0.7761 GB, free: 29.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.739, allocations: 10.5 kB / 0.7761 GB, free: 29.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.739, allocations: 4 kB / 0.7761 GB, free: 29.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01563/1.754, allocations: 5.141 MB / 0.7811 GB, free: 24.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/1.756, allocations: 311.5 kB / 0.7814 GB, free: 24.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/1.766, allocations: 4.999 MB / 0.7863 GB, free: 19.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004296/1.771, allocations: 449.9 kB / 0.7867 GB, free: 19.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003661/1.771, allocations: 87.91 kB / 0.7868 GB, free: 18.94 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.0004982/1.771, allocations: 128.5 kB / 0.7869 GB, free: 18.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009428/1.772, allocations: 343.7 kB / 0.7872 GB, free: 18.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03249/1.805, allocations: 11.59 MB / 0.7986 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/1.805, allocations: 24 kB / 0.7986 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.805, allocations: 0 / 0.7986 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-05/1.805, allocations: 15.94 kB / 0.7986 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03997/1.845, allocations: 15.04 MB / 0.8133 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/1.845, allocations: 0 / 0.8133 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/1.847, allocations: 263.6 kB / 0.8135 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01504/1.862, allocations: 4.539 MB / 0.818 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006215/1.863, allocations: 23.89 kB / 0.818 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03909/1.902, allocations: 14.77 MB / 0.8324 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.902, allocations: 4 kB / 0.8324 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04332/1.945, allocations: 13.44 MB / 0.8455 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04713/1.992, allocations: 15.82 MB / 0.861 GB, free: 6.375 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/1.994, allocations: 488.2 kB / 0.8614 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001691/1.996, allocations: 8 kB / 0.8615 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004696/2.001, allocations: 331.7 kB / 0.8618 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001316/2.002, allocations: 301.4 kB / 0.8621 GB, free: 5.246 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006055/2.003, allocations: 63.98 kB / 0.8621 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.00332/2.006, allocations: 1.638 MB / 0.8637 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004836/2.011, allocations: 0.8775 MB / 0.8646 GB, free: 2.676 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.0006934/2.012, allocations: 308.8 kB / 0.8649 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01349/2.025, allocations: 4.674 MB / 0.8694 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/2.025, allocations: 0 / 0.8694 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0114/2.037, allocations: 3.507 MB / 0.8729 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/2.039, allocations: 211 kB / 0.8731 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/2.054, allocations: 5.058 MB / 0.878 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002783/2.056, allocations: 2.165 MB / 0.8801 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of SimCode: time 1.373e-06/2.056, allocations: 4 kB / 0.8801 GB, free: 2.59 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)