Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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_PSAT,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",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.00103/0.00103, allocations: 183.3 kB / 7.463 MB, free: 484 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.077/1.077, allocations: 221.4 MB / 229.3 MB, free: 7.691 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008499/0.0008499, allocations: 99.11 kB / 280.1 MB, free: 5.152 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3646/0.3646, allocations: 78.1 MB / 409 MB, free: 19.52 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1171/0.4817, allocations: 75.48 MB / 484.5 MB, free: 8.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.7345, allocations: 69.35 MB / 0.5408 GB, free: 24.08 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.8352, allocations: 99.22 MB / 0.6377 GB, free: 9.664 MB / 462.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.8354, allocations: 67.97 kB / 0.6378 GB, free: 9.598 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.3601/1.196, allocations: 75.94 MB / 0.712 GB, free: 95.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/1.196, allocations: 10.56 kB / 0.712 GB, free: 95.13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009664/1.205, allocations: 1.512 MB / 0.7134 GB, free: 94.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004156/1.209, allocations: 1.752 MB / 0.7152 GB, free: 93.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/1.21, allocations: 388.4 kB / 0.7155 GB, free: 93.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003355/1.21, allocations: 113.4 kB / 0.7156 GB, free: 93.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003283/1.213, allocations: 1.95 MB / 0.7175 GB, free: 92.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/1.216, allocations: 1.779 MB / 0.7193 GB, free: 91.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/1.216, allocations: 0 / 0.7193 GB, free: 91.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/1.217, allocations: 0 / 0.7193 GB, free: 91.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/1.217, allocations: 43.19 kB / 0.7193 GB, free: 91.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/1.231, allocations: 9.525 MB / 0.7286 GB, free: 84.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/1.234, allocations: 1.393 MB / 0.73 GB, free: 83.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/1.235, allocations: 1.274 MB / 0.7312 GB, free: 82.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/1.235, allocations: 37.48 kB / 0.7313 GB, free: 82.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/1.235, allocations: 60.56 kB / 0.7313 GB, free: 82.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=223): time 3.697e-06/1.235, allocations: 0 / 0.7313 GB, free: 82.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=223): time 0.02312/1.259, allocations: 8.575 MB / 0.7397 GB, free: 74.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/1.259, allocations: 73.41 kB / 0.7398 GB, free: 73.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/1.261, allocations: 2.054 MB / 0.7418 GB, free: 71.92 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004802/1.262, allocations: 33.7 kB / 0.7418 GB, free: 71.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/1.262, allocations: 0.6581 MB / 0.7424 GB, free: 71.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001223/1.263, allocations: 0.7542 MB / 0.7432 GB, free: 70.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/1.264, allocations: 0 / 0.7432 GB, free: 70.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/1.264, allocations: 386.2 kB / 0.7435 GB, free: 70.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/1.265, allocations: 1.031 MB / 0.7446 GB, free: 69.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/1.267, allocations: 1.292 MB / 0.7458 GB, free: 67.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/1.268, allocations: 1.158 MB / 0.7469 GB, free: 66.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.268, allocations: 4 kB / 0.7469 GB, free: 66.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01611/1.285, allocations: 6.153 MB / 0.753 GB, free: 60.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.285, allocations: 4 kB / 0.753 GB, free: 60.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/1.285, allocations: 4 kB / 0.753 GB, free: 60.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01272/1.297, allocations: 3.376 MB / 0.7563 GB, free: 56.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006572/1.304, allocations: 1.635 MB / 0.7579 GB, free: 55.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/1.325, allocations: 16.63 MB / 0.7741 GB, free: 37.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/1.329, allocations: 353.9 kB / 0.7744 GB, free: 37.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/1.329, allocations: 75.97 kB / 0.7745 GB, free: 37.39 MB / 494.1 MB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004952/1.33, allocations: 165.4 kB / 0.7747 GB, free: 37.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/1.33, allocations: 300.2 kB / 0.7749 GB, free: 36.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02269/1.353, allocations: 8.802 MB / 0.7835 GB, free: 28.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/1.353, allocations: 23.94 kB / 0.7836 GB, free: 28.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.353, allocations: 4 kB / 0.7836 GB, free: 28.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.284e-05/1.353, allocations: 7.969 kB / 0.7836 GB, free: 28.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02639/1.379, allocations: 12.14 MB / 0.7954 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.379, allocations: 0 / 0.7954 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/1.381, allocations: 215.7 kB / 0.7956 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01168/1.393, allocations: 4.062 MB / 0.7996 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003481/1.393, allocations: 15.98 kB / 0.7996 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02605/1.419, allocations: 11.96 MB / 0.8113 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.419, allocations: 7.938 kB / 0.8113 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02859/1.448, allocations: 10.55 MB / 0.8216 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03108/1.479, allocations: 12.7 MB / 0.834 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.48, allocations: 464.6 kB / 0.8345 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008084/1.481, allocations: 11.98 kB / 0.8345 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/1.484, allocations: 203.8 kB / 0.8347 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005568/1.484, allocations: 213.6 kB / 0.8349 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/1.485, allocations: 56 kB / 0.8349 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of sort global known variables: time 0.002483/1.487, allocations: 1.551 MB / 0.8364 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003208/1.49, allocations: 0.901 MB / 0.8373 GB, free: 4.895 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 135 * 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 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.000528/1.491, allocations: 286.6 kB / 0.8376 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.502, allocations: 5.248 MB / 0.8427 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.502, allocations: 1.625 kB / 0.8427 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008779/1.511, allocations: 3.099 MB / 0.8457 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/1.512, allocations: 177.8 kB / 0.8459 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.522, allocations: 4.803 MB / 0.8506 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/1.525, allocations: 2.049 MB / 0.8526 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/1.525, allocations: 0 / 0.8526 GB, free: 4.957 MB / 0.5294 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT.fmu > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)