Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_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.002801/0.002801, allocations: 182 kB / 7.457 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.211/1.211, allocations: 221.4 MB / 229.3 MB, free: 3.137 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.0009552/0.0009552, allocations: 96.53 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4449/0.4449, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1435/0.5885, allocations: 75.64 MB / 485.4 MB, free: 3.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.8848, allocations: 69.52 MB / 0.542 GB, free: 20.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/1.009, allocations: 102.1 MB / 0.6416 GB, free: 1.836 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/1.009, allocations: 75.95 kB / 0.6417 GB, free: 1.762 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.5415/1.551, allocations: 106.1 MB / 0.7453 GB, free: 62.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.551, allocations: 8 kB / 0.7454 GB, free: 62.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01894/1.57, allocations: 2.927 MB / 0.7482 GB, free: 59.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006745/1.577, allocations: 2.298 MB / 0.7505 GB, free: 56.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009335/1.578, allocations: 0.8501 MB / 0.7513 GB, free: 55.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001713/1.579, allocations: 203.9 kB / 0.7515 GB, free: 55.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008801/1.588, allocations: 3.443 MB / 0.7548 GB, free: 52.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/1.598, allocations: 3.602 MB / 0.7584 GB, free: 48.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/1.598, allocations: 0 / 0.7584 GB, free: 48.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006913/1.599, allocations: 4 kB / 0.7584 GB, free: 48.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.368e-05/1.599, allocations: 84 kB / 0.7584 GB, free: 48.53 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03372/1.633, allocations: 18.66 MB / 0.7767 GB, free: 28.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/1.637, allocations: 2.267 MB / 0.7789 GB, free: 26.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00319/1.64, allocations: 2.116 MB / 0.781 GB, free: 24.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/1.64, allocations: 78.89 kB / 0.781 GB, free: 24.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.64, allocations: 69.55 kB / 0.7811 GB, free: 24.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=381): time 5.37e-06/1.64, allocations: 0 / 0.7811 GB, free: 24.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=381): time 0.0528/1.693, allocations: 18.27 MB / 0.7989 GB, free: 5.934 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/1.693, allocations: 171.5 kB / 0.7991 GB, free: 5.734 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/1.697, allocations: 2.464 MB / 0.8015 GB, free: 3.258 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.698, allocations: 25.7 kB / 0.8015 GB, free: 3.227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/1.699, allocations: 1.178 MB / 0.8027 GB, free: 2.031 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002658/1.701, allocations: 1.247 MB / 0.8039 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/1.702, allocations: 0 / 0.8039 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/1.702, allocations: 453.5 kB / 0.8043 GB, free: 324 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003106/1.705, allocations: 1.769 MB / 0.8061 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003559/1.709, allocations: 2.326 MB / 0.8083 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003459/1.712, allocations: 1.968 MB / 0.8102 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/1.712, allocations: 8 kB / 0.8103 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=461) (initialization): time 0.05743/1.77, allocations: 18.35 MB / 0.8282 GB, free: 7.637 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002898/1.773, allocations: 6.612 MB / 0.8346 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.193e-05/1.773, allocations: 12 kB / 0.8346 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02555/1.798, allocations: 7.109 MB / 0.8416 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/1.802, allocations: 0.5655 MB / 0.8421 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05879/1.86, allocations: 21.97 MB / 0.8636 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007353/1.868, allocations: 0.684 MB / 0.8643 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.869, allocations: 132 kB / 0.8644 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.869, allocations: 4 kB / 0.8644 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05584/1.925, allocations: 17.86 MB / 0.8818 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/1.925, allocations: 12 kB / 0.8818 GB, free: 15.96 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02597/1.951, allocations: 7.112 MB / 0.8888 GB, free: 8.844 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003587/1.955, allocations: 0.5578 MB / 0.8893 GB, free: 8.285 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3041/2.259, allocations: 21.96 MB / 0.9108 GB, free: 172.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007459/2.266, allocations: 0.6482 MB / 0.9114 GB, free: 172.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009672/2.267, allocations: 133.8 kB / 0.9115 GB, free: 172.3 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" 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 (327): * Single equations (assignments): 324 * 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: 0 * Non-linear torn systems: 1 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.00109/2.268, allocations: 211.6 kB / 0.9117 GB, free: 172.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001619/2.27, allocations: 456.3 kB / 0.9122 GB, free: 171.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0519/2.322, allocations: 18.68 MB / 0.9304 GB, free: 171.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.173e-05/2.322, allocations: 39.06 kB / 0.9305 GB, free: 171.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-05/2.322, allocations: 35.44 kB / 0.9305 GB, free: 171.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.209e-05/2.322, allocations: 23.59 kB / 0.9305 GB, free: 171.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06415/2.386, allocations: 23.61 MB / 0.9536 GB, free: 170.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.139e-05/2.386, allocations: 3.938 kB / 0.9536 GB, free: 170.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003006/2.39, allocations: 411.1 kB / 0.954 GB, free: 170.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02436/2.414, allocations: 7.155 MB / 0.9609 GB, free: 169.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001045/2.415, allocations: 17.75 kB / 0.961 GB, free: 169.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05032/2.465, allocations: 20.13 MB / 0.9806 GB, free: 163.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/2.465, allocations: 3.703 kB / 0.9806 GB, free: 163.3 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06009/2.525, allocations: 21.62 MB / 1.002 GB, free: 148.5 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0631/2.589, allocations: 25.13 MB / 1.026 GB, free: 127.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/2.59, allocations: 0.5594 MB / 1.027 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/2.592, allocations: 8.703 kB / 1.027 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004769/2.597, allocations: 490.2 kB / 1.027 GB, free: 126.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001383/2.598, allocations: 452.8 kB / 1.028 GB, free: 126 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003508/2.598, allocations: 92.08 kB / 1.028 GB, free: 125.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002712/2.601, allocations: 1.835 MB / 1.03 GB, free: 124.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009735/2.611, allocations: 2.595 MB / 1.032 GB, free: 121.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (251): * Single equations (assignments): 249 * 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 {(96,5.5%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007028/2.611, allocations: 151 kB / 1.032 GB, free: 121.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04041/2.652, allocations: 13.9 MB / 1.046 GB, free: 109.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/2.652, allocations: 0 / 1.046 GB, free: 109.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0173/2.669, allocations: 5.768 MB / 1.052 GB, free: 104.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/2.672, allocations: 248.1 kB / 1.052 GB, free: 103.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/2.69, allocations: 6.355 MB / 1.058 GB, free: 98.07 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003247/2.694, allocations: 2.696 MB / 1.061 GB, free: 96 MB / 0.573 GB Notification: Performance of SimCode: time 2.895e-06/2.694, allocations: 0 / 1.061 GB, free: 96 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)