Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.002149/0.002149, allocations: 186.6 kB / 7.46 MB, free: 2.508 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.187/1.187, allocations: 221.4 MB / 229.3 MB, free: 3.285 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.0009368/0.0009368, allocations: 95.23 kB / 280.1 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4415/0.4415, allocations: 78.93 MB / 409.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1767/0.6182, allocations: 75.64 MB / 485.5 MB, free: 3.527 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.9551, allocations: 69.5 MB / 0.542 GB, free: 20.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/1.087, allocations: 98.86 MB / 0.6385 GB, free: 5.035 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/1.088, allocations: 79.95 kB / 0.6386 GB, free: 4.957 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.09366/1.181, allocations: 32.65 MB / 0.6705 GB, free: 4.027 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.181, allocations: 8 kB / 0.6705 GB, free: 4.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003699/1.185, allocations: 0.5836 MB / 0.671 GB, free: 3.434 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/1.187, allocations: 0.8117 MB / 0.6718 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/1.187, allocations: 206.5 kB / 0.672 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/1.187, allocations: 44 kB / 0.6721 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001658/1.189, allocations: 0.8162 MB / 0.6729 GB, free: 1.477 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/1.191, allocations: 0.857 MB / 0.6737 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/1.191, allocations: 4 kB / 0.6737 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.038e-05/1.191, allocations: 0 / 0.6737 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/1.191, allocations: 20 kB / 0.6737 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1994/1.39, allocations: 3.903 MB / 0.6775 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009705/1.391, allocations: 0.6203 MB / 0.6781 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006616/1.392, allocations: 0.5224 MB / 0.6786 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/1.392, allocations: 21.38 kB / 0.6787 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/1.392, allocations: 41.41 kB / 0.6787 GB, free: 139.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.886e-06/1.392, allocations: 0 / 0.6787 GB, free: 139.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01165/1.404, allocations: 4.078 MB / 0.6827 GB, free: 139.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/1.404, allocations: 139.7 kB / 0.6828 GB, free: 139.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/1.405, allocations: 0.8543 MB / 0.6837 GB, free: 139.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/1.405, allocations: 26.58 kB / 0.6837 GB, free: 139.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/1.405, allocations: 321.3 kB / 0.684 GB, free: 139.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/1.405, allocations: 337.7 kB / 0.6843 GB, free: 139.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/1.406, allocations: 0 / 0.6843 GB, free: 139.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.229e-05/1.406, allocations: 345.7 kB / 0.6846 GB, free: 138.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000706/1.406, allocations: 449.2 kB / 0.6851 GB, free: 138.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008552/1.407, allocations: 0.5661 MB / 0.6856 GB, free: 138.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008554/1.408, allocations: 0.4955 MB / 0.6861 GB, free: 138.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/1.408, allocations: 0 / 0.6861 GB, free: 138.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01252/1.421, allocations: 4.276 MB / 0.6903 GB, free: 138.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002674/1.421, allocations: 1.145 MB / 0.6914 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.421, allocations: 11.17 kB / 0.6914 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005537/1.426, allocations: 1.606 MB / 0.693 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009249/1.427, allocations: 158 kB / 0.6931 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/1.441, allocations: 7.169 MB / 0.7001 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/1.444, allocations: 178 kB / 0.7003 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/1.444, allocations: 36.39 kB / 0.7003 GB, free: 134.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.444, allocations: 4.062 kB / 0.7003 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01321/1.457, allocations: 4.108 MB / 0.7044 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/1.457, allocations: 10.88 kB / 0.7044 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006075/1.463, allocations: 1.601 MB / 0.7059 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.464, allocations: 149.7 kB / 0.7061 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/1.479, allocations: 7.158 MB / 0.7131 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/1.481, allocations: 170.1 kB / 0.7132 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/1.481, allocations: 39.47 kB / 0.7133 GB, free: 131.1 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 87 * 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 {19 13} Notification: Performance of prepare postOptimizeDAE: time 0.000538/1.482, allocations: 163.4 kB / 0.7134 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004817/1.482, allocations: 126.2 kB / 0.7135 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.494, allocations: 4.175 MB / 0.7176 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/1.494, allocations: 11.16 kB / 0.7176 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.24e-05/1.494, allocations: 9.312 kB / 0.7176 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.739e-05/1.494, allocations: 9.281 kB / 0.7176 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/1.509, allocations: 5.704 MB / 0.7232 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.509, allocations: 0 / 0.7232 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.51, allocations: 121.6 kB / 0.7233 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00483/1.515, allocations: 1.465 MB / 0.7248 GB, free: 128 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002646/1.515, allocations: 13.23 kB / 0.7248 GB, free: 128 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01168/1.527, allocations: 5.192 MB / 0.7298 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.527, allocations: 4 kB / 0.7298 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01442/1.542, allocations: 4.939 MB / 0.7347 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01504/1.557, allocations: 6.075 MB / 0.7406 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/1.557, allocations: 225.6 kB / 0.7408 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004641/1.558, allocations: 4 kB / 0.7408 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/1.559, allocations: 136.3 kB / 0.7409 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/1.56, allocations: 105 kB / 0.741 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.56, allocations: 20 kB / 0.7411 GB, free: 118.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00122/1.561, allocations: 0.6614 MB / 0.7417 GB, free: 118.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004539/1.566, allocations: 0.6369 MB / 0.7423 GB, free: 117.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (69): * Single equations (assignments): 67 * 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 {(21,21.8%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004204/1.566, allocations: 135.2 kB / 0.7425 GB, free: 117.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009698/1.576, allocations: 3.696 MB / 0.7461 GB, free: 114 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.576, allocations: 0 / 0.7461 GB, free: 114 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003907/1.58, allocations: 1.405 MB / 0.7474 GB, free: 112.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/1.581, allocations: 99.25 kB / 0.7475 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00577/1.587, allocations: 2.011 MB / 0.7495 GB, free: 110.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009222/1.588, allocations: 1.238 MB / 0.7507 GB, free: 109.8 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/1.588, allocations: 0 / 0.7507 GB, free: 109.8 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)