Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.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.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",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.001771/0.001771, allocations: 183.6 kB / 7.46 MB, free: 2.512 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.069/1.069, allocations: 221.4 MB / 229.3 MB, free: 3.227 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.0008568/0.0008568, allocations: 84.12 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3608/0.3608, allocations: 78.1 MB / 409 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1211/0.4819, allocations: 75.5 MB / 484.5 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.7144, allocations: 69.33 MB / 0.5408 GB, free: 21.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09811/0.8125, allocations: 98.36 MB / 0.6369 GB, free: 6.609 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/0.8127, allocations: 75.95 kB / 0.637 GB, free: 6.535 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.3358/1.149, allocations: 69.55 MB / 0.7049 GB, free: 95.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.149, allocations: 8.844 kB / 0.7049 GB, free: 95.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/1.159, allocations: 1.665 MB / 0.7065 GB, free: 95.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/1.163, allocations: 1.651 MB / 0.7081 GB, free: 94.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005964/1.164, allocations: 0.6198 MB / 0.7087 GB, free: 94.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005182/1.164, allocations: 123.3 kB / 0.7089 GB, free: 94.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004442/1.168, allocations: 2.22 MB / 0.711 GB, free: 93.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/1.172, allocations: 2.283 MB / 0.7132 GB, free: 92.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.354e-05/1.172, allocations: 3.844 kB / 0.7133 GB, free: 92.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/1.172, allocations: 0.9375 kB / 0.7133 GB, free: 92.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/1.172, allocations: 48.84 kB / 0.7133 GB, free: 92.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/1.189, allocations: 9.9 MB / 0.723 GB, free: 84.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/1.191, allocations: 1.571 MB / 0.7245 GB, free: 82.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/1.193, allocations: 1.446 MB / 0.7259 GB, free: 81.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/1.193, allocations: 41.72 kB / 0.726 GB, free: 81.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/1.193, allocations: 64.5 kB / 0.726 GB, free: 81.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=241): time 3.807e-06/1.193, allocations: 4 kB / 0.726 GB, free: 81.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=241): time 0.03518/1.228, allocations: 12.88 MB / 0.7386 GB, free: 68.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/1.228, allocations: 231.6 kB / 0.7388 GB, free: 68.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/1.23, allocations: 1.696 MB / 0.7405 GB, free: 66.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004909/1.231, allocations: 29.7 kB / 0.7405 GB, free: 66.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/1.231, allocations: 0.6957 MB / 0.7412 GB, free: 65.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009587/1.232, allocations: 0.8043 MB / 0.742 GB, free: 64.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/1.232, allocations: 0 / 0.742 GB, free: 64.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.356e-05/1.232, allocations: 394.6 kB / 0.7423 GB, free: 64.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/1.234, allocations: 1.184 MB / 0.7435 GB, free: 63.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/1.236, allocations: 1.484 MB / 0.7449 GB, free: 61.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/1.238, allocations: 1.316 MB / 0.7462 GB, free: 60.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.238, allocations: 0 / 0.7462 GB, free: 60.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03503/1.273, allocations: 12.93 MB / 0.7589 GB, free: 47.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003729/1.273, allocations: 2.763 MB / 0.7616 GB, free: 44.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.273, allocations: 12 kB / 0.7616 GB, free: 44.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01458/1.288, allocations: 5.081 MB / 0.7665 GB, free: 39.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/1.29, allocations: 375.5 kB / 0.7669 GB, free: 39.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0332/1.323, allocations: 15.13 MB / 0.7817 GB, free: 23.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/1.327, allocations: 0.4978 MB / 0.7822 GB, free: 23.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/1.327, allocations: 87.97 kB / 0.7822 GB, free: 23.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/1.327, allocations: 9.812 kB / 0.7822 GB, free: 23.17 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03409/1.361, allocations: 12.59 MB / 0.7945 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-05/1.361, allocations: 8 kB / 0.7946 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01487/1.376, allocations: 5.091 MB / 0.7995 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/1.378, allocations: 367.4 kB / 0.7999 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03709/1.415, allocations: 15.14 MB / 0.8147 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003995/1.419, allocations: 489.9 kB / 0.8151 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005331/1.42, allocations: 79.97 kB / 0.8152 GB, free: 5.277 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 4 * 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 {64 25} Notification: Performance of prepare postOptimizeDAE: time 0.000828/1.421, allocations: 197.3 kB / 0.8154 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008969/1.422, allocations: 292.3 kB / 0.8157 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03894/1.461, allocations: 13.13 MB / 0.8285 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.152e-05/1.461, allocations: 27.91 kB / 0.8285 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-05/1.461, allocations: 20 kB / 0.8285 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-05/1.461, allocations: 11.95 kB / 0.8285 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04484/1.506, allocations: 16.62 MB / 0.8448 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.506, allocations: 0 / 0.8448 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/1.508, allocations: 267.6 kB / 0.845 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01507/1.523, allocations: 5.015 MB / 0.8499 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004194/1.523, allocations: 23.98 kB / 0.85 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03312/1.556, allocations: 13.69 MB / 0.8633 GB, free: 3.816 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.556, allocations: 4 kB / 0.8633 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04098/1.597, allocations: 15.12 MB / 0.8781 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1845/1.782, allocations: 17.55 MB / 0.8952 GB, free: 193.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009698/1.783, allocations: 404.4 kB / 0.8956 GB, free: 193.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005072/1.783, allocations: 4 kB / 0.8956 GB, free: 193.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002875/1.786, allocations: 391 kB / 0.896 GB, free: 193.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007856/1.787, allocations: 320.2 kB / 0.8963 GB, free: 193.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002261/1.787, allocations: 63.61 kB / 0.8964 GB, free: 193.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001447/1.789, allocations: 1.272 MB / 0.8976 GB, free: 193.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004503/1.793, allocations: 1.597 MB / 0.8992 GB, free: 193.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 2 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003638/1.794, allocations: 145.3 kB / 0.8993 GB, free: 193 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02308/1.817, allocations: 9.57 MB / 0.9086 GB, free: 192.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.817, allocations: 3.969 kB / 0.9087 GB, free: 192.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0105/1.827, allocations: 3.946 MB / 0.9125 GB, free: 191.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/1.828, allocations: 201.9 kB / 0.9127 GB, free: 191.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009114/1.838, allocations: 4.199 MB / 0.9168 GB, free: 190.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/1.839, allocations: 1.979 MB / 0.9187 GB, free: 189.8 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/1.839, allocations: 1.094 kB / 0.9187 GB, free: 189.8 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)