Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",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.002578/0.002578, allocations: 181.4 kB / 7.459 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.251/1.251, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.001051/0.001051, allocations: 96.8 kB / 280.1 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4347/0.4347, allocations: 78.06 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1519/0.5866, allocations: 75.49 MB / 484.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.8977, allocations: 69.35 MB / 0.5408 GB, free: 21.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/1.021, allocations: 97.14 MB / 0.6357 GB, free: 7.645 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/1.021, allocations: 83.95 kB / 0.6357 GB, free: 7.562 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.3945/1.416, allocations: 63.64 MB / 0.6979 GB, free: 95.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.416, allocations: 7.406 kB / 0.6979 GB, free: 95.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/1.426, allocations: 1.647 MB / 0.6995 GB, free: 95.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/1.431, allocations: 1.46 MB / 0.7009 GB, free: 94.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000741/1.431, allocations: 0.6147 MB / 0.7015 GB, free: 94.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009943/1.432, allocations: 118.8 kB / 0.7016 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006004/1.438, allocations: 2.083 MB / 0.7037 GB, free: 94.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006555/1.445, allocations: 2.139 MB / 0.7058 GB, free: 93.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.714e-05/1.445, allocations: 0 / 0.7058 GB, free: 93.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003267/1.445, allocations: 4.812 kB / 0.7058 GB, free: 93.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-05/1.445, allocations: 46.12 kB / 0.7058 GB, free: 93.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02257/1.468, allocations: 9.467 MB / 0.7151 GB, free: 88.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/1.472, allocations: 1.93 MB / 0.7169 GB, free: 87.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/1.475, allocations: 1.358 MB / 0.7183 GB, free: 87.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/1.475, allocations: 47.94 kB / 0.7183 GB, free: 87.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/1.475, allocations: 60.47 kB / 0.7184 GB, free: 87.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 4.017e-06/1.475, allocations: 1.125 kB / 0.7184 GB, free: 87.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=227): time 0.03855/1.514, allocations: 12.71 MB / 0.7308 GB, free: 75.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/1.514, allocations: 124.8 kB / 0.7309 GB, free: 75.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002883/1.517, allocations: 1.487 MB / 0.7324 GB, free: 74.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006783/1.517, allocations: 25.7 kB / 0.7324 GB, free: 74.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/1.518, allocations: 0.6594 MB / 0.733 GB, free: 73.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.519, allocations: 0.7581 MB / 0.7338 GB, free: 72.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004507/1.52, allocations: 0 / 0.7338 GB, free: 72.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/1.52, allocations: 386.2 kB / 0.7341 GB, free: 72.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00218/1.522, allocations: 1.117 MB / 0.7352 GB, free: 71.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/1.524, allocations: 1.396 MB / 0.7366 GB, free: 69.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/1.527, allocations: 1.228 MB / 0.7378 GB, free: 68.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/1.527, allocations: 11.92 kB / 0.7378 GB, free: 68.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03846/1.565, allocations: 12.81 MB / 0.7503 GB, free: 55.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004794/1.566, allocations: 2.726 MB / 0.753 GB, free: 52.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/1.566, allocations: 8 kB / 0.753 GB, free: 52.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01706/1.583, allocations: 5.168 MB / 0.758 GB, free: 47.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/1.585, allocations: 323.5 kB / 0.7583 GB, free: 47.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04036/1.625, allocations: 15.55 MB / 0.7735 GB, free: 31.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004358/1.63, allocations: 481.9 kB / 0.774 GB, free: 31.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005997/1.63, allocations: 75.98 kB / 0.7741 GB, free: 31.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.457e-06/1.631, allocations: 4 kB / 0.7741 GB, free: 31.11 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03751/1.668, allocations: 12.51 MB / 0.7863 GB, free: 18.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.921e-05/1.668, allocations: 8 kB / 0.7863 GB, free: 18.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0169/1.685, allocations: 5.177 MB / 0.7913 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/1.687, allocations: 311.5 kB / 0.7916 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03866/1.726, allocations: 15.56 MB / 0.8068 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004043/1.73, allocations: 454.1 kB / 0.8073 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000611/1.73, allocations: 75.98 kB / 0.8073 GB, free: 12.93 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.00107/1.731, allocations: 143 kB / 0.8075 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.732, allocations: 276.6 kB / 0.8077 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04068/1.773, allocations: 12.95 MB / 0.8204 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.807e-05/1.773, allocations: 24 kB / 0.8204 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-05/1.773, allocations: 19.91 kB / 0.8204 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.293e-05/1.773, allocations: 27.88 kB / 0.8205 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04819/1.822, allocations: 16.12 MB / 0.8362 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/1.822, allocations: 0 / 0.8362 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/1.823, allocations: 251.6 kB / 0.8364 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01672/1.84, allocations: 5.015 MB / 0.8413 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008063/1.841, allocations: 11.98 kB / 0.8413 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03959/1.881, allocations: 13.69 MB / 0.8547 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/1.881, allocations: 3.984 kB / 0.8547 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04605/1.927, allocations: 14.88 MB / 0.8693 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05004/1.977, allocations: 17.22 MB / 0.8861 GB, free: 12.06 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.978, allocations: 365.2 kB / 0.8864 GB, free: 11.68 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/1.979, allocations: 8 kB / 0.8864 GB, free: 11.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003576/1.983, allocations: 367.7 kB / 0.8868 GB, free: 11.32 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00114/1.984, allocations: 309.3 kB / 0.8871 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003669/1.984, allocations: 60 kB / 0.8871 GB, free: 10.96 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002154/1.986, allocations: 1.11 MB / 0.8882 GB, free: 9.836 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008128/1.994, allocations: 1.54 MB / 0.8897 GB, free: 8.293 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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.000682/1.995, allocations: 150.5 kB / 0.8899 GB, free: 8.141 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2458/2.241, allocations: 9.085 MB / 0.8987 GB, free: 215.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/2.241, allocations: 7.688 kB / 0.8987 GB, free: 215.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01129/2.252, allocations: 3.816 MB / 0.9025 GB, free: 215.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/2.254, allocations: 152 kB / 0.9026 GB, free: 215.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/2.265, allocations: 4.019 MB / 0.9065 GB, free: 214.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/2.266, allocations: 1.86 MB / 0.9084 GB, free: 213.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.412e-06/2.267, allocations: 0 / 0.9084 GB, free: 213.6 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)