Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.004582/0.004582, allocations: 185.1 kB / 7.459 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.3/1.3, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.00089/0.00089, allocations: 99.62 kB / 280.1 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4568/0.4568, allocations: 78.92 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1842/0.641, allocations: 75.65 MB / 485.5 MB, free: 3.574 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.9862, allocations: 69.51 MB / 0.542 GB, free: 20.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/1.108, allocations: 100.3 MB / 0.6399 GB, free: 3.613 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/1.108, allocations: 75.95 kB / 0.64 GB, free: 3.539 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.4312/1.539, allocations: 71.83 MB / 0.7101 GB, free: 94.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.539, allocations: 9.094 kB / 0.7101 GB, free: 94.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/1.551, allocations: 1.668 MB / 0.7118 GB, free: 93.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005446/1.557, allocations: 1.688 MB / 0.7134 GB, free: 92.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007251/1.557, allocations: 0.6241 MB / 0.714 GB, free: 92.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009018/1.558, allocations: 123.1 kB / 0.7142 GB, free: 92.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00539/1.564, allocations: 2.24 MB / 0.7163 GB, free: 91.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004814/1.568, allocations: 2.301 MB / 0.7186 GB, free: 89.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/1.569, allocations: 0 / 0.7186 GB, free: 89.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/1.569, allocations: 0 / 0.7186 GB, free: 89.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/1.569, allocations: 52 kB / 0.7186 GB, free: 88.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/1.587, allocations: 10.02 MB / 0.7284 GB, free: 78.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/1.59, allocations: 1.583 MB / 0.73 GB, free: 77.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/1.592, allocations: 1.474 MB / 0.7314 GB, free: 75.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/1.592, allocations: 53.72 kB / 0.7315 GB, free: 75.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/1.592, allocations: 64.55 kB / 0.7315 GB, free: 75.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 4.669e-06/1.592, allocations: 0 / 0.7315 GB, free: 75.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.0376/1.63, allocations: 12.91 MB / 0.7441 GB, free: 62.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/1.63, allocations: 235.6 kB / 0.7443 GB, free: 62.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/1.633, allocations: 1.733 MB / 0.746 GB, free: 60.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000645/1.634, allocations: 29.7 kB / 0.7461 GB, free: 60.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000369/1.634, allocations: 0.7037 MB / 0.7468 GB, free: 59.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001632/1.636, allocations: 0.812 MB / 0.7475 GB, free: 58.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/1.636, allocations: 0 / 0.7475 GB, free: 58.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/1.636, allocations: 398.6 kB / 0.7479 GB, free: 58.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/1.638, allocations: 1.208 MB / 0.7491 GB, free: 57.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/1.641, allocations: 1.511 MB / 0.7506 GB, free: 55.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/1.643, allocations: 1.332 MB / 0.7519 GB, free: 54.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.643, allocations: 0 / 0.7519 GB, free: 54.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=302) (initialization): time 0.03809/1.681, allocations: 13.03 MB / 0.7646 GB, free: 41.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006099/1.682, allocations: 2.767 MB / 0.7673 GB, free: 38.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.254e-05/1.682, allocations: 4 kB / 0.7673 GB, free: 38.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01668/1.698, allocations: 5.142 MB / 0.7723 GB, free: 33.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/1.701, allocations: 379.5 kB / 0.7727 GB, free: 32.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03757/1.738, allocations: 16.49 MB / 0.7888 GB, free: 16.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004572/1.743, allocations: 0.5017 MB / 0.7893 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006897/1.744, allocations: 87.97 kB / 0.7894 GB, free: 15.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/1.744, allocations: 4 kB / 0.7894 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03685/1.78, allocations: 12.7 MB / 0.8018 GB, free: 2.797 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.513e-05/1.781, allocations: 7.984 kB / 0.8018 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01729/1.798, allocations: 5.142 MB / 0.8068 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/1.8, allocations: 359.5 kB / 0.8072 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04384/1.844, allocations: 16.49 MB / 0.8233 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/1.849, allocations: 485.9 kB / 0.8237 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006263/1.849, allocations: 87.98 kB / 0.8238 GB, free: 11.99 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.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 (213): * Single equations (assignments): 207 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001173/1.85, allocations: 208.9 kB / 0.824 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.852, allocations: 304.3 kB / 0.8243 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04037/1.892, allocations: 13.16 MB / 0.8372 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.262e-05/1.892, allocations: 27.98 kB / 0.8372 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-05/1.892, allocations: 20 kB / 0.8372 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.811e-05/1.892, allocations: 15.95 kB / 0.8372 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04769/1.94, allocations: 16.71 MB / 0.8535 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/1.94, allocations: 4.062 kB / 0.8535 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002297/1.942, allocations: 279.6 kB / 0.8538 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0163/1.959, allocations: 4.97 MB / 0.8587 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007805/1.959, allocations: 15.98 kB / 0.8587 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03604/1.996, allocations: 13.75 MB / 0.8721 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.996, allocations: 0 / 0.8721 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04609/2.042, allocations: 15.2 MB / 0.8869 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2407/2.282, allocations: 17.66 MB / 0.9042 GB, free: 202.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/2.284, allocations: 414.8 kB / 0.9046 GB, free: 202.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006452/2.284, allocations: 12.58 kB / 0.9046 GB, free: 202.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/2.287, allocations: 386.9 kB / 0.905 GB, free: 202.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008584/2.288, allocations: 321.1 kB / 0.9053 GB, free: 202.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002414/2.289, allocations: 60.03 kB / 0.9053 GB, free: 202.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001836/2.29, allocations: 1.303 MB / 0.9066 GB, free: 202.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005641/2.296, allocations: 1.624 MB / 0.9082 GB, free: 202.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (165): * Single equations (assignments): 162 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005026/2.297, allocations: 150 kB / 0.9083 GB, free: 202.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02714/2.324, allocations: 9.861 MB / 0.918 GB, free: 201.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/2.324, allocations: 3.156 kB / 0.918 GB, free: 201.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01237/2.336, allocations: 3.942 MB / 0.9218 GB, free: 201.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/2.339, allocations: 195.3 kB / 0.922 GB, free: 201.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/2.353, allocations: 4.481 MB / 0.9264 GB, free: 200.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/2.354, allocations: 2.011 MB / 0.9283 GB, free: 199.3 MB / 0.573 GB Notification: Performance of SimCode: time 1.062e-06/2.354, allocations: 0 / 0.9283 GB, free: 199.3 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)