Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.003585/0.003585, allocations: 170.9 kB / 7.455 MB, free: 2.227 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.241/1.241, allocations: 221.4 MB / 229.3 MB, free: 3.434 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.0008789/0.0008788, allocations: 82.77 kB / 280.1 MB, free: 1.047 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4081/0.4081, allocations: 78.91 MB / 409.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.422e-06, allocations: 0 / 485.4 MB, free: 3.387 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3051, allocations: 69.5 MB / 0.5419 GB, free: 20.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.4364, allocations: 100.1 MB / 0.6396 GB, free: 3.566 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.4367, allocations: 79.95 kB / 0.6397 GB, free: 3.488 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3665/0.8032, allocations: 67.15 MB / 0.7053 GB, free: 97.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001731/0.8034, allocations: 55.53 kB / 0.7053 GB, free: 97.24 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01301/0.8164, allocations: 4.185 MB / 0.7094 GB, free: 94.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.8165, allocations: 9.25 kB / 0.7094 GB, free: 94.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.8276, allocations: 1.676 MB / 0.711 GB, free: 93.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004237/0.8319, allocations: 1.664 MB / 0.7127 GB, free: 92.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006792/0.8326, allocations: 0.6236 MB / 0.7133 GB, free: 92.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008172/0.8334, allocations: 127.4 kB / 0.7134 GB, free: 92.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005576/0.839, allocations: 2.227 MB / 0.7156 GB, free: 91.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006349/0.8454, allocations: 2.29 MB / 0.7178 GB, free: 89.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.164e-05/0.8455, allocations: 3.906 kB / 0.7178 GB, free: 89.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005525/0.8461, allocations: 4 kB / 0.7178 GB, free: 89.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/0.8461, allocations: 55.94 kB / 0.7179 GB, free: 89.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02106/0.8672, allocations: 9.966 MB / 0.7276 GB, free: 78.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/0.8701, allocations: 1.583 MB / 0.7291 GB, free: 77.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002217/0.8723, allocations: 1.462 MB / 0.7306 GB, free: 75.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/0.8727, allocations: 45.72 kB / 0.7306 GB, free: 75.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.8727, allocations: 60.5 kB / 0.7307 GB, free: 75.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 5.25e-06/0.8728, allocations: 0 / 0.7307 GB, free: 75.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.03866/0.9114, allocations: 12.9 MB / 0.7433 GB, free: 62.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.9115, allocations: 231.6 kB / 0.7435 GB, free: 62.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.9148, allocations: 1.724 MB / 0.7452 GB, free: 60.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006788/0.9155, allocations: 25.7 kB / 0.7452 GB, free: 60.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/0.9159, allocations: 0.6998 MB / 0.7459 GB, free: 60.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00163/0.9176, allocations: 0.8081 MB / 0.7467 GB, free: 59.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004801/0.9181, allocations: 4 kB / 0.7467 GB, free: 59.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.9182, allocations: 398.7 kB / 0.7471 GB, free: 58.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/0.9206, allocations: 1.196 MB / 0.7482 GB, free: 57.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.923, allocations: 1.503 MB / 0.7497 GB, free: 56.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/0.9254, allocations: 1.323 MB / 0.751 GB, free: 54.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.9254, allocations: 4 kB / 0.751 GB, free: 54.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03612/0.9616, allocations: 12.1 MB / 0.7628 GB, free: 42.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004758/0.9621, allocations: 2.757 MB / 0.7655 GB, free: 39.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/0.9621, allocations: 8 kB / 0.7655 GB, free: 39.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01545/0.9776, allocations: 4.823 MB / 0.7702 GB, free: 34.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/0.9816, allocations: 0.7257 MB / 0.7709 GB, free: 34.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03551/1.017, allocations: 14.3 MB / 0.7849 GB, free: 19.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/1.022, allocations: 0.5095 MB / 0.7854 GB, free: 19.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006152/1.023, allocations: 87.95 kB / 0.7855 GB, free: 19.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/1.023, allocations: 4 kB / 0.7855 GB, free: 19.02 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03545/1.058, allocations: 11.75 MB / 0.7969 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-05/1.058, allocations: 12 kB / 0.797 GB, free: 7.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01564/1.074, allocations: 4.823 MB / 0.8017 GB, free: 2.414 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004147/1.078, allocations: 0.7023 MB / 0.8024 GB, free: 1.711 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04103/1.119, allocations: 14.3 MB / 0.8163 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004711/1.124, allocations: 490 kB / 0.8168 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006768/1.124, allocations: 87.97 kB / 0.8169 GB, free: 2.723 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" 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 (221): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.001183/1.126, allocations: 209.1 kB / 0.8171 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.127, allocations: 296.3 kB / 0.8173 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04199/1.169, allocations: 13.15 MB / 0.8302 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/1.169, allocations: 24 kB / 0.8302 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.973e-05/1.169, allocations: 20 kB / 0.8302 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.038e-05/1.169, allocations: 15.95 kB / 0.8303 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05073/1.22, allocations: 16.69 MB / 0.8465 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/1.22, allocations: 4.062 kB / 0.8466 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/1.222, allocations: 283.6 kB / 0.8468 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01692/1.239, allocations: 5.007 MB / 0.8517 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006804/1.24, allocations: 15.98 kB / 0.8517 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03748/1.277, allocations: 13.68 MB / 0.8651 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.277, allocations: 0 / 0.8651 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04697/1.324, allocations: 15.17 MB / 0.8799 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.326, allocations: 404.8 kB / 0.8803 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001343/1.327, allocations: 15.89 kB / 0.8803 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004055/1.331, allocations: 387.7 kB / 0.8807 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/1.332, allocations: 317.4 kB / 0.881 GB, free: 0.8555 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003828/1.332, allocations: 59.98 kB / 0.881 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002495/1.335, allocations: 1.295 MB / 0.8823 GB, free: 15.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005872/1.341, allocations: 1.579 MB / 0.8838 GB, free: 13.92 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (164): * Single equations (assignments): 161 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006163/1.342, allocations: 148.5 kB / 0.884 GB, free: 13.76 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02937/1.371, allocations: 9.591 MB / 0.8934 GB, free: 4.047 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.371, allocations: 0 / 0.8934 GB, free: 4.047 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01343/1.384, allocations: 3.967 MB / 0.8972 GB, free: 48 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1596/1.544, allocations: 189.3 kB / 0.8974 GB, free: 213.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/1.555, allocations: 4.342 MB / 0.9016 GB, free: 212.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/1.557, allocations: 1.953 MB / 0.9036 GB, free: 211.3 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/1.557, allocations: 0 / 0.9036 GB, free: 211.3 MB / 0.573 GB Notification: Performance of Templates: time 0.1074/1.664, allocations: 75.17 MB / 0.977 GB, free: 191 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)