Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_PSAT,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_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.002663/0.002663, allocations: 183.2 kB / 7.46 MB, free: 2.242 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.257/1.257, allocations: 221.4 MB / 229.3 MB, free: 3.238 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.0008725/0.0008725, allocations: 92.38 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4658/0.4658, allocations: 78.07 MB / 409 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2073/0.6731, allocations: 75.48 MB / 484.4 MB, free: 4.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/1.075, allocations: 69.34 MB / 0.5408 GB, free: 21.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/1.202, allocations: 99.22 MB / 0.6377 GB, free: 5.48 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/1.203, allocations: 71.97 kB / 0.6378 GB, free: 5.41 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.5057/1.708, allocations: 75.96 MB / 0.7119 GB, free: 92.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.708, allocations: 9.906 kB / 0.7119 GB, free: 92.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/1.719, allocations: 1.515 MB / 0.7134 GB, free: 91.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006325/1.725, allocations: 1.741 MB / 0.7151 GB, free: 90.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006901/1.726, allocations: 387.9 kB / 0.7155 GB, free: 90.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/1.727, allocations: 106.8 kB / 0.7156 GB, free: 90.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005392/1.733, allocations: 1.954 MB / 0.7175 GB, free: 89.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005528/1.738, allocations: 1.783 MB / 0.7192 GB, free: 87.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.801e-05/1.738, allocations: 1.531 kB / 0.7192 GB, free: 87.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00041/1.739, allocations: 0 / 0.7192 GB, free: 87.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/1.739, allocations: 44 kB / 0.7193 GB, free: 87.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/1.759, allocations: 9.508 MB / 0.7286 GB, free: 78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/1.762, allocations: 1.39 MB / 0.7299 GB, free: 76.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/1.764, allocations: 1.274 MB / 0.7312 GB, free: 75.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003254/1.765, allocations: 42.81 kB / 0.7312 GB, free: 75.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/1.765, allocations: 56.5 kB / 0.7313 GB, free: 75.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=223): time 4.919e-06/1.765, allocations: 0 / 0.7313 GB, free: 75.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=223): time 0.02733/1.792, allocations: 8.576 MB / 0.7396 GB, free: 66.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.792, allocations: 73.41 kB / 0.7397 GB, free: 66.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00461/1.797, allocations: 2.066 MB / 0.7417 GB, free: 64.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007734/1.798, allocations: 25.7 kB / 0.7418 GB, free: 64.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/1.798, allocations: 0.6503 MB / 0.7424 GB, free: 63.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001651/1.8, allocations: 0.7543 MB / 0.7431 GB, free: 63.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/1.8, allocations: 7.938 kB / 0.7431 GB, free: 63.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/1.8, allocations: 382.2 kB / 0.7435 GB, free: 62.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/1.802, allocations: 1.031 MB / 0.7445 GB, free: 61.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/1.804, allocations: 1.292 MB / 0.7458 GB, free: 60.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/1.807, allocations: 1.158 MB / 0.7469 GB, free: 59.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/1.807, allocations: 0 / 0.7469 GB, free: 59.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.0179/1.824, allocations: 6.162 MB / 0.7529 GB, free: 52.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.825, allocations: 4 kB / 0.7529 GB, free: 52.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/1.825, allocations: 4 kB / 0.7529 GB, free: 52.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0139/1.838, allocations: 3.361 MB / 0.7562 GB, free: 49.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007256/1.846, allocations: 1.639 MB / 0.7578 GB, free: 47.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02446/1.87, allocations: 16.64 MB / 0.7741 GB, free: 30.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005188/1.875, allocations: 346 kB / 0.7744 GB, free: 30.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/1.877, allocations: 75.97 kB / 0.7745 GB, free: 29.99 MB / 490.7 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.001507/1.878, allocations: 166.1 kB / 0.7746 GB, free: 29.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001838/1.88, allocations: 300.2 kB / 0.7749 GB, free: 29.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02596/1.906, allocations: 8.803 MB / 0.7835 GB, free: 20.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.385e-05/1.906, allocations: 20 kB / 0.7835 GB, free: 20.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.906, allocations: 0 / 0.7835 GB, free: 20.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-05/1.906, allocations: 11.95 kB / 0.7835 GB, free: 20.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03485/1.941, allocations: 12.16 MB / 0.7954 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.192e-05/1.941, allocations: 0 / 0.7954 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/1.943, allocations: 223.7 kB / 0.7956 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01339/1.957, allocations: 4.058 MB / 0.7996 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007567/1.958, allocations: 15.98 kB / 0.7996 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0331/1.991, allocations: 11.95 MB / 0.8113 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.991, allocations: 0 / 0.8113 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03275/2.023, allocations: 10.56 MB / 0.8216 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03539/2.059, allocations: 12.7 MB / 0.834 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/2.061, allocations: 472.6 kB / 0.8344 GB, free: 388 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009653/2.062, allocations: 4 kB / 0.8344 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002994/2.065, allocations: 199.8 kB / 0.8346 GB, free: 184 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006579/2.065, allocations: 213.7 kB / 0.8348 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/2.065, allocations: 63.92 kB / 0.8349 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002609/2.068, allocations: 1.551 MB / 0.8364 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003902/2.072, allocations: 0.901 MB / 0.8373 GB, free: 13.46 MB / 0.5261 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.0005873/2.073, allocations: 286.6 kB / 0.8376 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01258/2.085, allocations: 5.241 MB / 0.8427 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/2.085, allocations: 0 / 0.8427 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0102/2.095, allocations: 3.097 MB / 0.8457 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/2.098, allocations: 169.8 kB / 0.8459 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/2.113, allocations: 4.811 MB / 0.8506 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002641/2.116, allocations: 2.049 MB / 0.8526 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of SimCode: time 7.01e-07/2.116, allocations: 0 / 0.8526 GB, free: 13.49 MB / 0.5417 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)