Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_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.002058/0.002058, allocations: 186.2 kB / 7.46 MB, free: 2.246 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.075/1.075, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.0008422/0.0008422, allocations: 104.2 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3653/0.3653, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1178/0.4831, allocations: 75.49 MB / 484.5 MB, free: 4.457 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.7173, allocations: 69.34 MB / 0.5408 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.8198, allocations: 101.6 MB / 0.6401 GB, free: 3.27 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.8201, allocations: 79.95 kB / 0.6402 GB, free: 3.191 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.3995/1.22, allocations: 104.8 MB / 0.7424 GB, free: 65.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/1.22, allocations: 8 kB / 0.7425 GB, free: 65.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/1.236, allocations: 2.924 MB / 0.7453 GB, free: 62.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/1.239, allocations: 2.311 MB / 0.7476 GB, free: 60.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005628/1.24, allocations: 0.854 MB / 0.7484 GB, free: 59.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005106/1.24, allocations: 211.9 kB / 0.7486 GB, free: 58.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005477/1.246, allocations: 3.451 MB / 0.752 GB, free: 55.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005585/1.252, allocations: 3.602 MB / 0.7555 GB, free: 51.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.397e-05/1.252, allocations: 0 / 0.7555 GB, free: 51.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003335/1.252, allocations: 0 / 0.7555 GB, free: 51.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/1.252, allocations: 84 kB / 0.7556 GB, free: 51.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02738/1.279, allocations: 18.7 MB / 0.7738 GB, free: 32.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/1.283, allocations: 2.267 MB / 0.776 GB, free: 29.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002704/1.285, allocations: 2.128 MB / 0.7781 GB, free: 27.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003794/1.286, allocations: 74.86 kB / 0.7782 GB, free: 27.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/1.286, allocations: 73.55 kB / 0.7783 GB, free: 27.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 5.089e-06/1.286, allocations: 3.938 kB / 0.7783 GB, free: 27.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.04854/1.334, allocations: 18.27 MB / 0.7961 GB, free: 9.129 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/1.334, allocations: 171.5 kB / 0.7963 GB, free: 8.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003176/1.338, allocations: 2.488 MB / 0.7987 GB, free: 6.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006971/1.338, allocations: 25.7 kB / 0.7987 GB, free: 6.398 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004453/1.339, allocations: 1.178 MB / 0.7999 GB, free: 5.203 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001878/1.341, allocations: 1.254 MB / 0.8011 GB, free: 3.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/1.341, allocations: 0 / 0.8011 GB, free: 3.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/1.341, allocations: 445.7 kB / 0.8015 GB, free: 3.488 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002672/1.344, allocations: 1.769 MB / 0.8033 GB, free: 1.719 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/1.347, allocations: 2.334 MB / 0.8055 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003283/1.35, allocations: 1.976 MB / 0.8075 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/1.35, allocations: 4 kB / 0.8075 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=463) (initialization): time 0.05345/1.404, allocations: 18.43 MB / 0.8255 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001729/1.405, allocations: 6.617 MB / 0.8319 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/1.405, allocations: 12 kB / 0.8319 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02396/1.429, allocations: 7.22 MB / 0.839 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/1.432, allocations: 0.5382 MB / 0.8395 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05604/1.488, allocations: 23.44 MB / 0.8624 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005561/1.494, allocations: 0.6645 MB / 0.8631 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004261/1.494, allocations: 136 kB / 0.8632 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/1.494, allocations: 4 kB / 0.8632 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05291/1.547, allocations: 17.94 MB / 0.8807 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-05/1.547, allocations: 19.98 kB / 0.8807 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02369/1.571, allocations: 7.216 MB / 0.8878 GB, free: 10.06 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/1.574, allocations: 0.5342 MB / 0.8883 GB, free: 9.523 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1999/1.774, allocations: 23.42 MB / 0.9112 GB, free: 174.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005409/1.779, allocations: 0.63 MB / 0.9118 GB, free: 174.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004748/1.78, allocations: 135.5 kB / 0.9119 GB, free: 174.6 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 322 * 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: 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008313/1.781, allocations: 201.7 kB / 0.9121 GB, free: 174.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007632/1.781, allocations: 455.4 kB / 0.9125 GB, free: 174.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0489/1.83, allocations: 18.7 MB / 0.9308 GB, free: 174 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/1.83, allocations: 39.97 kB / 0.9308 GB, free: 174 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-05/1.83, allocations: 31.78 kB / 0.9309 GB, free: 174 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.875e-05/1.83, allocations: 16.83 kB / 0.9309 GB, free: 174 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05764/1.888, allocations: 23.64 MB / 0.954 GB, free: 172.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.888, allocations: 0 / 0.954 GB, free: 172.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/1.891, allocations: 416.8 kB / 0.9544 GB, free: 172.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02189/1.913, allocations: 7.196 MB / 0.9614 GB, free: 172.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005125/1.913, allocations: 20.23 kB / 0.9614 GB, free: 172.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04578/1.959, allocations: 20.07 MB / 0.981 GB, free: 165.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.959, allocations: 3.031 kB / 0.981 GB, free: 165.3 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05394/2.013, allocations: 21.65 MB / 1.002 GB, free: 149.5 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05908/2.072, allocations: 25.16 MB / 1.027 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/2.073, allocations: 0.5679 MB / 1.027 GB, free: 127.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007442/2.074, allocations: 4.703 kB / 1.027 GB, free: 127.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003981/2.078, allocations: 473.9 kB / 1.028 GB, free: 127.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001181/2.079, allocations: 449.1 kB / 1.028 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003435/2.079, allocations: 98.05 kB / 1.028 GB, free: 126.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002079/2.082, allocations: 1.84 MB / 1.03 GB, free: 125.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006098/2.088, allocations: 2.603 MB / 1.033 GB, free: 122.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 1 * 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 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004321/2.088, allocations: 167.1 kB / 1.033 GB, free: 122.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03566/2.124, allocations: 14.18 MB / 1.047 GB, free: 109.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/2.124, allocations: 0 / 1.047 GB, free: 109.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01607/2.14, allocations: 5.839 MB / 1.052 GB, free: 104.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/2.142, allocations: 248.7 kB / 1.053 GB, free: 104.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/2.157, allocations: 6.436 MB / 1.059 GB, free: 98.62 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/2.159, allocations: 2.707 MB / 1.061 GB, free: 96.56 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/2.159, allocations: 8 kB / 1.061 GB, free: 96.55 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)