Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_dev_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.00393/0.00393, allocations: 179.3 kB / 7.456 MB, free: 2.516 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.267/1.267, allocations: 221.4 MB / 229.3 MB, free: 3.367 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.0009605/0.0009607, allocations: 94.48 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4561/0.4561, allocations: 78.93 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1471/0.6032, allocations: 75.64 MB / 485.5 MB, free: 3.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.9741, allocations: 69.5 MB / 0.5419 GB, free: 20.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/1.112, allocations: 99.9 MB / 0.6395 GB, free: 3.98 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/1.113, allocations: 67.97 kB / 0.6396 GB, free: 3.914 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.4978/1.61, allocations: 76.7 MB / 0.7145 GB, free: 91.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.534e-05/1.611, allocations: 8.875 kB / 0.7145 GB, free: 91.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/1.622, allocations: 1.509 MB / 0.716 GB, free: 90.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005918/1.627, allocations: 1.763 MB / 0.7177 GB, free: 89.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005717/1.628, allocations: 389.3 kB / 0.718 GB, free: 89.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/1.629, allocations: 111.9 kB / 0.7182 GB, free: 89.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005247/1.635, allocations: 1.948 MB / 0.7201 GB, free: 87.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005427/1.64, allocations: 1.777 MB / 0.7218 GB, free: 85.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.215e-05/1.64, allocations: 4 kB / 0.7218 GB, free: 85.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004293/1.641, allocations: 4 kB / 0.7218 GB, free: 85.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/1.641, allocations: 40 kB / 0.7218 GB, free: 85.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02223/1.663, allocations: 9.525 MB / 0.7311 GB, free: 75.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/1.666, allocations: 1.386 MB / 0.7325 GB, free: 74.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002197/1.668, allocations: 1.28 MB / 0.7337 GB, free: 72.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/1.668, allocations: 41.48 kB / 0.7338 GB, free: 72.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/1.668, allocations: 52.56 kB / 0.7338 GB, free: 72.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=223): time 4.819e-06/1.668, allocations: 0 / 0.7338 GB, free: 72.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=223): time 0.02625/1.695, allocations: 8.575 MB / 0.7422 GB, free: 64.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/1.695, allocations: 77.41 kB / 0.7423 GB, free: 64.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004497/1.699, allocations: 2.062 MB / 0.7443 GB, free: 61.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006607/1.7, allocations: 25.7 kB / 0.7443 GB, free: 61.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004525/1.7, allocations: 0.662 MB / 0.745 GB, free: 61.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001863/1.702, allocations: 0.7542 MB / 0.7457 GB, free: 60.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005065/1.703, allocations: 0 / 0.7457 GB, free: 60.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/1.703, allocations: 382.2 kB / 0.7461 GB, free: 60.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/1.705, allocations: 1.031 MB / 0.7471 GB, free: 59.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/1.707, allocations: 1.296 MB / 0.7483 GB, free: 57.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/1.709, allocations: 1.158 MB / 0.7495 GB, free: 56.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/1.709, allocations: 7.938 kB / 0.7495 GB, free: 56.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01859/1.728, allocations: 6.146 MB / 0.7555 GB, free: 50.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/1.728, allocations: 10.19 kB / 0.7555 GB, free: 50.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/1.728, allocations: 8 kB / 0.7555 GB, free: 50.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01418/1.742, allocations: 3.355 MB / 0.7588 GB, free: 46.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007129/1.749, allocations: 1.639 MB / 0.7604 GB, free: 45.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02421/1.774, allocations: 16.65 MB / 0.7766 GB, free: 27.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005058/1.779, allocations: 350 kB / 0.777 GB, free: 27.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007344/1.78, allocations: 79.92 kB / 0.777 GB, free: 27.43 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.0017/1.781, allocations: 162 kB / 0.7772 GB, free: 27.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/1.783, allocations: 304.2 kB / 0.7775 GB, free: 26.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02593/1.809, allocations: 8.797 MB / 0.7861 GB, free: 18.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/1.809, allocations: 27.98 kB / 0.7861 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.809, allocations: 0 / 0.7861 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.488e-05/1.809, allocations: 11.95 kB / 0.7861 GB, free: 18.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03154/1.84, allocations: 12.14 MB / 0.798 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/1.84, allocations: 0 / 0.798 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/1.842, allocations: 227.6 kB / 0.7982 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01296/1.855, allocations: 4.054 MB / 0.8021 GB, free: 1.652 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001047/1.856, allocations: 19.98 kB / 0.8022 GB, free: 1.633 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04467/1.901, allocations: 11.94 MB / 0.8138 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.901, allocations: 4 kB / 0.8138 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03667/1.938, allocations: 10.55 MB / 0.8241 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03591/1.974, allocations: 12.72 MB / 0.8366 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.975, allocations: 464.6 kB / 0.837 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/1.976, allocations: 4 kB / 0.837 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00369/1.98, allocations: 211.8 kB / 0.8372 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000822/1.981, allocations: 217.6 kB / 0.8374 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003961/1.981, allocations: 52 kB / 0.8375 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003871/1.985, allocations: 1.559 MB / 0.839 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005478/1.991, allocations: 0.901 MB / 0.8399 GB, free: 10.88 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.00106/1.992, allocations: 290.2 kB / 0.8401 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01394/2.006, allocations: 5.24 MB / 0.8453 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/2.006, allocations: 3.938 kB / 0.8453 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01029/2.016, allocations: 3.092 MB / 0.8483 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/2.019, allocations: 176 kB / 0.8484 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/2.034, allocations: 4.807 MB / 0.8531 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003381/2.037, allocations: 2.053 MB / 0.8551 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of SimCode: time 1.252e-06/2.037, allocations: 0 / 0.8551 GB, free: 10.91 MB / 0.5417 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)