Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI") [: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.003017/0.003017, allocations: 182.9 kB / 7.456 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.25/1.25, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.0009918/0.0009918, allocations: 97.66 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4058/0.4058, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.755e-06/7.795e-06, allocations: 4 kB / 484.4 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2398, allocations: 69.34 MB / 0.5407 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3488, allocations: 99.09 MB / 0.6375 GB, free: 5.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.349, allocations: 83.89 kB / 0.6376 GB, free: 5.668 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3594/0.7085, allocations: 65.48 MB / 0.7015 GB, free: 97.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001694/0.7087, allocations: 54.31 kB / 0.7016 GB, free: 97.83 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01338/0.7221, allocations: 4.152 MB / 0.7056 GB, free: 96.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7221, allocations: 12.72 kB / 0.7056 GB, free: 96.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.7345, allocations: 1.669 MB / 0.7073 GB, free: 95.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005501/0.7401, allocations: 1.656 MB / 0.7089 GB, free: 94.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008799/0.741, allocations: 0.6239 MB / 0.7095 GB, free: 94.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009107/0.7419, allocations: 126.4 kB / 0.7096 GB, free: 94.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005423/0.7474, allocations: 2.22 MB / 0.7118 GB, free: 93.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004264/0.7516, allocations: 2.275 MB / 0.714 GB, free: 91.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/0.7517, allocations: 4 kB / 0.714 GB, free: 91.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/0.752, allocations: 4.875 kB / 0.714 GB, free: 91.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.752, allocations: 49.25 kB / 0.7141 GB, free: 91.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01779/0.7698, allocations: 9.891 MB / 0.7237 GB, free: 83.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/0.7726, allocations: 1.57 MB / 0.7252 GB, free: 81.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/0.7746, allocations: 1.454 MB / 0.7267 GB, free: 80.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.7749, allocations: 41.72 kB / 0.7267 GB, free: 80.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.775, allocations: 72.48 kB / 0.7268 GB, free: 80.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.92e-06/0.775, allocations: 0 / 0.7268 GB, free: 80.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.04062/0.8156, allocations: 12.86 MB / 0.7393 GB, free: 67.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.8157, allocations: 239.6 kB / 0.7396 GB, free: 67.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003038/0.8188, allocations: 1.688 MB / 0.7412 GB, free: 65.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000579/0.8194, allocations: 29.7 kB / 0.7412 GB, free: 65.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.8197, allocations: 0.6957 MB / 0.7419 GB, free: 64.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001413/0.8211, allocations: 0.8043 MB / 0.7427 GB, free: 63.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.8213, allocations: 0 / 0.7427 GB, free: 63.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.8215, allocations: 398.5 kB / 0.7431 GB, free: 63.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.8235, allocations: 1.192 MB / 0.7443 GB, free: 62.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.8256, allocations: 1.492 MB / 0.7457 GB, free: 60.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.8277, allocations: 1.311 MB / 0.747 GB, free: 59.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.8277, allocations: 0 / 0.747 GB, free: 59.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03902/0.8668, allocations: 12.95 MB / 0.7596 GB, free: 46.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003525/0.8672, allocations: 2.758 MB / 0.7623 GB, free: 43.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.8672, allocations: 8 kB / 0.7623 GB, free: 43.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01602/0.8832, allocations: 5.043 MB / 0.7673 GB, free: 38.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.8856, allocations: 379.5 kB / 0.7676 GB, free: 38.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03619/0.9218, allocations: 15.18 MB / 0.7824 GB, free: 22.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/0.9258, allocations: 0.4978 MB / 0.7829 GB, free: 22.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003313/0.9261, allocations: 83.97 kB / 0.783 GB, free: 22.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/0.9261, allocations: 4 kB / 0.783 GB, free: 22.19 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03671/0.9629, allocations: 12.61 MB / 0.7953 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/0.9629, allocations: 8 kB / 0.7953 GB, free: 9.559 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01587/0.9788, allocations: 5.043 MB / 0.8003 GB, free: 4.516 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/0.9809, allocations: 367.5 kB / 0.8006 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03886/1.02, allocations: 15.16 MB / 0.8154 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/1.024, allocations: 485.9 kB / 0.8159 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/1.024, allocations: 79.97 kB / 0.816 GB, free: 4.312 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" 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 (210): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 4 * 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 {62 27} Notification: Performance of prepare postOptimizeDAE: time 0.0006938/1.025, allocations: 206.5 kB / 0.8162 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006413/1.026, allocations: 296.3 kB / 0.8164 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04167/1.067, allocations: 13.13 MB / 0.8293 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.539e-05/1.067, allocations: 24 kB / 0.8293 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.484e-05/1.067, allocations: 20 kB / 0.8293 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.19e-05/1.067, allocations: 15.95 kB / 0.8293 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04848/1.116, allocations: 16.64 MB / 0.8456 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.116, allocations: 0 / 0.8456 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/1.118, allocations: 275.6 kB / 0.8458 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0175/1.136, allocations: 4.998 MB / 0.8507 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006797/1.136, allocations: 15.98 kB / 0.8507 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03821/1.174, allocations: 13.7 MB / 0.8641 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.175, allocations: 0 / 0.8641 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04677/1.221, allocations: 15.13 MB / 0.8789 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.222, allocations: 408.8 kB / 0.8793 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006934/1.223, allocations: 4 kB / 0.8793 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003579/1.227, allocations: 387.7 kB / 0.8796 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009807/1.228, allocations: 325.3 kB / 0.8799 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000281/1.228, allocations: 56 kB / 0.88 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001914/1.23, allocations: 1.272 MB / 0.8812 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.156/1.386, allocations: 1.58 MB / 0.8828 GB, free: 201.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (163): * Single equations (assignments): 160 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008669/1.387, allocations: 147 kB / 0.8829 GB, free: 201.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02662/1.413, allocations: 9.532 MB / 0.8922 GB, free: 200.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.413, allocations: 4.719 kB / 0.8922 GB, free: 200.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01203/1.426, allocations: 3.941 MB / 0.8961 GB, free: 200.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/1.427, allocations: 194.1 kB / 0.8963 GB, free: 200.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.438, allocations: 4.243 MB / 0.9004 GB, free: 199.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.44, allocations: 1.942 MB / 0.9023 GB, free: 198.7 MB / 0.5573 GB Notification: Performance of SimCode: time 9.42e-07/1.44, allocations: 0 / 0.9023 GB, free: 198.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.1022/1.542, allocations: 76.01 MB / 0.9765 GB, free: 165 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)