Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE,fileNamePrefix="OpenIPSL_release_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.001931/0.001931, allocations: 184.7 kB / 7.463 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.082/1.082, allocations: 221.4 MB / 229.3 MB, free: 3.086 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.0008873/0.0008873, allocations: 106.6 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3628/0.3628, allocations: 78.11 MB / 409 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1206/0.4835, allocations: 75.48 MB / 484.5 MB, free: 4.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.7257, allocations: 69.36 MB / 0.5408 GB, free: 21.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.8319, allocations: 103.2 MB / 0.6416 GB, free: 1.758 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.8321, allocations: 79.89 kB / 0.6417 GB, free: 1.68 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.3925/1.225, allocations: 98.51 MB / 0.7379 GB, free: 70.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/1.225, allocations: 8 kB / 0.7379 GB, free: 70.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007127/1.232, allocations: 1.334 MB / 0.7392 GB, free: 68.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/1.235, allocations: 1.844 MB / 0.741 GB, free: 67.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005381/1.236, allocations: 0.6067 MB / 0.7416 GB, free: 66.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004953/1.236, allocations: 123.8 kB / 0.7417 GB, free: 66.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003989/1.24, allocations: 2.202 MB / 0.7439 GB, free: 64.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/1.243, allocations: 1.952 MB / 0.7458 GB, free: 62.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/1.243, allocations: 3.984 kB / 0.7458 GB, free: 62.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002044/1.244, allocations: 0 / 0.7458 GB, free: 62.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/1.244, allocations: 44 kB / 0.7458 GB, free: 62.08 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01598/1.26, allocations: 10.58 MB / 0.7561 GB, free: 51.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/1.263, allocations: 2.139 MB / 0.7582 GB, free: 48.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/1.264, allocations: 1.405 MB / 0.7596 GB, free: 47.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/1.265, allocations: 53.86 kB / 0.7597 GB, free: 47.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/1.265, allocations: 64.55 kB / 0.7597 GB, free: 47.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 3.617e-06/1.265, allocations: 0 / 0.7597 GB, free: 47.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03115/1.296, allocations: 11.3 MB / 0.7708 GB, free: 36.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/1.296, allocations: 77.39 kB / 0.7708 GB, free: 35.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003129/1.299, allocations: 2.162 MB / 0.7729 GB, free: 33.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006169/1.3, allocations: 29.7 kB / 0.773 GB, free: 33.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/1.3, allocations: 0.6954 MB / 0.7737 GB, free: 33.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00145/1.302, allocations: 0.8428 MB / 0.7745 GB, free: 32.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/1.302, allocations: 3.938 kB / 0.7745 GB, free: 32.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.882e-05/1.302, allocations: 390.5 kB / 0.7748 GB, free: 31.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/1.304, allocations: 1.133 MB / 0.776 GB, free: 30.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/1.305, allocations: 1.383 MB / 0.7773 GB, free: 29.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/1.307, allocations: 1.257 MB / 0.7785 GB, free: 27.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/1.308, allocations: 0 / 0.7785 GB, free: 27.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006779/1.314, allocations: 4.004 MB / 0.7824 GB, free: 23.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.314, allocations: 8.031 kB / 0.7825 GB, free: 23.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.314, allocations: 4 kB / 0.7825 GB, free: 23.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01504/1.329, allocations: 5.148 MB / 0.7875 GB, free: 18.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/1.331, allocations: 307.6 kB / 0.7878 GB, free: 18.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009353/1.34, allocations: 4.987 MB / 0.7926 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/1.344, allocations: 457.8 kB / 0.7931 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/1.344, allocations: 87.92 kB / 0.7932 GB, free: 12.88 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.0004533/1.345, allocations: 132.6 kB / 0.7933 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/1.345, allocations: 343.7 kB / 0.7936 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0312/1.377, allocations: 11.58 MB / 0.8049 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/1.377, allocations: 24 kB / 0.805 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.377, allocations: 0 / 0.805 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.86e-05/1.377, allocations: 15.94 kB / 0.805 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03856/1.415, allocations: 15.04 MB / 0.8197 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.415, allocations: 3.938 kB / 0.8197 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.417, allocations: 259.7 kB / 0.8199 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01395/1.431, allocations: 4.536 MB / 0.8243 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006293/1.432, allocations: 19.89 kB / 0.8244 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03476/1.467, allocations: 14.77 MB / 0.8388 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.467, allocations: 0 / 0.8388 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03718/1.504, allocations: 13.44 MB / 0.8519 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03975/1.544, allocations: 15.81 MB / 0.8673 GB, free: 336 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.545, allocations: 496.3 kB / 0.8678 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005374/1.545, allocations: 4 kB / 0.8678 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/1.548, allocations: 339.7 kB / 0.8681 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007565/1.549, allocations: 297.5 kB / 0.8684 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.549, allocations: 67.89 kB / 0.8685 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002292/1.552, allocations: 1.626 MB / 0.8701 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00276/1.554, allocations: 0.8814 MB / 0.8709 GB, free: 12.62 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.0005256/1.555, allocations: 304.9 kB / 0.8712 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01212/1.567, allocations: 4.674 MB / 0.8758 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.567, allocations: 0 / 0.8758 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009682/1.577, allocations: 3.511 MB / 0.8792 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/1.579, allocations: 217.7 kB / 0.8794 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1601/1.739, allocations: 5.06 MB / 0.8844 GB, free: 187.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/1.741, allocations: 2.165 MB / 0.8865 GB, free: 187 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/1.741, allocations: 0 / 0.8865 GB, free: 187 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=0.001 OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSSE.fmu > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE.pipe 2>&1)