Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.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.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.002939/0.002939, allocations: 180.2 kB / 7.458 MB, free: 2.5 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.193/1.193, allocations: 221.4 MB / 229.3 MB, free: 3.082 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.0009832/0.0009832, allocations: 89.61 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4622/0.4622, allocations: 78.04 MB / 408.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1315/0.5938, allocations: 75.5 MB / 484.4 MB, free: 4.379 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.8762, allocations: 69.35 MB / 0.5408 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.9944, allocations: 99.5 MB / 0.638 GB, free: 5.328 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.9947, allocations: 75.95 kB / 0.6381 GB, free: 5.254 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.4078/1.403, allocations: 70.55 MB / 0.7069 GB, free: 95.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.403, allocations: 13.03 kB / 0.707 GB, free: 95.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/1.414, allocations: 1.671 MB / 0.7086 GB, free: 95.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004769/1.419, allocations: 1.664 MB / 0.7102 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007751/1.42, allocations: 0.6238 MB / 0.7108 GB, free: 93.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009604/1.421, allocations: 127.7 kB / 0.7109 GB, free: 93.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005146/1.426, allocations: 2.23 MB / 0.7131 GB, free: 92.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006101/1.432, allocations: 2.293 MB / 0.7154 GB, free: 91.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.697e-05/1.432, allocations: 5.188 kB / 0.7154 GB, free: 91.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004068/1.432, allocations: 0 / 0.7154 GB, free: 91.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/1.432, allocations: 49.25 kB / 0.7154 GB, free: 91.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01774/1.45, allocations: 9.968 MB / 0.7252 GB, free: 82.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/1.452, allocations: 1.583 MB / 0.7267 GB, free: 80.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/1.454, allocations: 1.462 MB / 0.7281 GB, free: 79.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/1.455, allocations: 49.58 kB / 0.7282 GB, free: 79.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/1.455, allocations: 64.55 kB / 0.7282 GB, free: 78.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.429e-06/1.455, allocations: 3.938 kB / 0.7282 GB, free: 78.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.03671/1.491, allocations: 12.89 MB / 0.7408 GB, free: 66.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/1.491, allocations: 235.6 kB / 0.7411 GB, free: 65.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/1.494, allocations: 1.721 MB / 0.7427 GB, free: 64.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007546/1.495, allocations: 29.7 kB / 0.7428 GB, free: 64.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000332/1.495, allocations: 0.6998 MB / 0.7434 GB, free: 63.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001468/1.497, allocations: 0.812 MB / 0.7442 GB, free: 62.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/1.497, allocations: 0 / 0.7442 GB, free: 62.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/1.497, allocations: 394.7 kB / 0.7446 GB, free: 62.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/1.499, allocations: 1.196 MB / 0.7458 GB, free: 60.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/1.501, allocations: 1.503 MB / 0.7472 GB, free: 59.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/1.503, allocations: 1.326 MB / 0.7485 GB, free: 57.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.503, allocations: 3.938 kB / 0.7485 GB, free: 57.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03441/1.538, allocations: 12.09 MB / 0.7604 GB, free: 45.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004002/1.538, allocations: 2.757 MB / 0.763 GB, free: 42.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/1.538, allocations: 8 kB / 0.7631 GB, free: 42.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01504/1.553, allocations: 4.824 MB / 0.7678 GB, free: 38.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/1.557, allocations: 0.7218 MB / 0.7685 GB, free: 37.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03416/1.591, allocations: 14.31 MB / 0.7824 GB, free: 22.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004653/1.596, allocations: 0.5056 MB / 0.7829 GB, free: 22.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004681/1.597, allocations: 87.91 kB / 0.783 GB, free: 22.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.597, allocations: 5.875 kB / 0.783 GB, free: 22.28 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03341/1.63, allocations: 11.76 MB / 0.7945 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.283e-05/1.63, allocations: 8 kB / 0.7945 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01515/1.645, allocations: 4.827 MB / 0.7992 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003881/1.649, allocations: 0.7062 MB / 0.7999 GB, free: 4.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03696/1.686, allocations: 14.28 MB / 0.8139 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004251/1.691, allocations: 0.494 MB / 0.8144 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003451/1.691, allocations: 83.97 kB / 0.8144 GB, free: 5.973 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis 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 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 (221): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007388/1.692, allocations: 214.4 kB / 0.8146 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007502/1.692, allocations: 292.3 kB / 0.8149 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04005/1.732, allocations: 13.15 MB / 0.8278 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.825e-05/1.733, allocations: 24 kB / 0.8278 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/1.733, allocations: 20 kB / 0.8278 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.265e-05/1.733, allocations: 11.95 kB / 0.8278 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04619/1.779, allocations: 16.69 MB / 0.8441 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/1.779, allocations: 0 / 0.8441 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/1.781, allocations: 275.6 kB / 0.8444 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01637/1.797, allocations: 5.015 MB / 0.8493 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000713/1.798, allocations: 19.98 kB / 0.8493 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03701/1.835, allocations: 13.67 MB / 0.8626 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/1.835, allocations: 3.984 kB / 0.8626 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.045/1.88, allocations: 15.17 MB / 0.8775 GB, free: 5.238 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2317/2.112, allocations: 17.61 MB / 0.8947 GB, free: 192.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/2.113, allocations: 413.4 kB / 0.8951 GB, free: 192 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007822/2.114, allocations: 3.562 kB / 0.8951 GB, free: 192 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003425/2.118, allocations: 388.5 kB / 0.8954 GB, free: 192 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008337/2.118, allocations: 328.6 kB / 0.8957 GB, free: 192 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002452/2.119, allocations: 60.08 kB / 0.8958 GB, free: 192 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001823/2.12, allocations: 1.291 MB / 0.8971 GB, free: 191.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005254/2.126, allocations: 1.587 MB / 0.8986 GB, free: 191.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (164): * Single equations (assignments): 161 * 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.0004753/2.126, allocations: 151.2 kB / 0.8987 GB, free: 191.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02585/2.152, allocations: 9.587 MB / 0.9081 GB, free: 190.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/2.152, allocations: 0 / 0.9081 GB, free: 190.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01175/2.164, allocations: 3.971 MB / 0.912 GB, free: 190.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/2.166, allocations: 201.6 kB / 0.9122 GB, free: 190.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/2.177, allocations: 4.358 MB / 0.9164 GB, free: 189.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/2.179, allocations: 2.007 MB / 0.9184 GB, free: 188.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.563e-06/2.179, allocations: 0 / 0.9184 GB, free: 188.4 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)