Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [: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.001738/0.001738, allocations: 174.5 kB / 7.459 MB, free: 2.172 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.039/1.039, allocations: 221.4 MB / 229.3 MB, free: 3.051 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.0008451/0.0008451, allocations: 92.69 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.3505/0.3505, allocations: 78.1 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.886e-06/8.936e-06, allocations: 4 kB / 484.4 MB, free: 4.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2202, allocations: 69.35 MB / 0.5408 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09591/0.3161, allocations: 98.06 MB / 0.6365 GB, free: 6.895 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001631/0.3163, allocations: 79.95 kB / 0.6366 GB, free: 6.816 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.0899/0.4062, allocations: 35.66 MB / 0.6714 GB, free: 2.891 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.751e-05/0.4063, allocations: 35.94 kB / 0.6714 GB, free: 2.855 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004022/0.4104, allocations: 1.758 MB / 0.6732 GB, free: 1.039 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.4104, allocations: 8.031 kB / 0.6732 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/0.4138, allocations: 0.5797 MB / 0.6737 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1296/0.5435, allocations: 0.7753 MB / 0.6745 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.5437, allocations: 241.3 kB / 0.6747 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.5439, allocations: 48.97 kB / 0.6748 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001211/0.5451, allocations: 0.805 MB / 0.6756 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.5463, allocations: 0.8259 MB / 0.6764 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.5463, allocations: 0 / 0.6764 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.5464, allocations: 0 / 0.6764 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.5464, allocations: 25.05 kB / 0.6764 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005173/0.5516, allocations: 3.739 MB / 0.68 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/0.5525, allocations: 0.6117 MB / 0.6806 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006056/0.5531, allocations: 0.5109 MB / 0.6811 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.345e-05/0.5532, allocations: 17.31 kB / 0.6812 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00077/0.554, allocations: 0.6335 MB / 0.6818 GB, free: 140.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.044e-06/0.554, allocations: 0 / 0.6818 GB, free: 140.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01114/0.5652, allocations: 4.172 MB / 0.6858 GB, free: 140.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.5652, allocations: 118.3 kB / 0.686 GB, free: 140.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/0.5661, allocations: 0.8052 MB / 0.6867 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/0.5662, allocations: 29.55 kB / 0.6868 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.5663, allocations: 324 kB / 0.6871 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.5666, allocations: 335.6 kB / 0.6874 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.5667, allocations: 0 / 0.6874 GB, free: 139.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.5667, allocations: 342.8 kB / 0.6877 GB, free: 139.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/0.5673, allocations: 447.8 kB / 0.6882 GB, free: 139.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.568, allocations: 0.5565 MB / 0.6887 GB, free: 139.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006764/0.5687, allocations: 0.4885 MB / 0.6892 GB, free: 139.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5687, allocations: 0 / 0.6892 GB, free: 139.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01107/0.5798, allocations: 4.2 MB / 0.6933 GB, free: 139.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.5798, allocations: 7.156 kB / 0.6933 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5798, allocations: 3.812 kB / 0.6933 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004922/0.5848, allocations: 1.565 MB / 0.6948 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009063/0.5857, allocations: 187.8 kB / 0.695 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.5976, allocations: 6.005 MB / 0.7009 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.5991, allocations: 196.3 kB / 0.701 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.5992, allocations: 40.34 kB / 0.7011 GB, free: 137.4 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002405/0.5995, allocations: 150.3 kB / 0.7012 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.5996, allocations: 130.2 kB / 0.7014 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.6113, allocations: 4.267 MB / 0.7055 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.6113, allocations: 13.09 kB / 0.7055 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.6113, allocations: 6.031 kB / 0.7055 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.6113, allocations: 6.703 kB / 0.7055 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.6237, allocations: 5.671 MB / 0.7111 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6237, allocations: 2.938 kB / 0.7111 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/0.6243, allocations: 97.38 kB / 0.7112 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004292/0.6286, allocations: 1.53 MB / 0.7127 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.845e-05/0.6287, allocations: 13.42 kB / 0.7127 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.6399, allocations: 7.135 MB / 0.7197 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.6399, allocations: 0 / 0.7197 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01188/0.6518, allocations: 5.024 MB / 0.7246 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.6521, allocations: 223.3 kB / 0.7248 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.6523, allocations: 3.328 kB / 0.7248 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.6534, allocations: 141.9 kB / 0.7249 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.6537, allocations: 115.1 kB / 0.725 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.605e-05/0.6538, allocations: 29.75 kB / 0.7251 GB, free: 129.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006754/0.6545, allocations: 0.6106 MB / 0.7256 GB, free: 129.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009858/0.6555, allocations: 397.4 kB / 0.726 GB, free: 129.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002136/0.6557, allocations: 135.2 kB / 0.7262 GB, free: 129.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004202/0.6599, allocations: 1.943 MB / 0.7281 GB, free: 128.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6599, allocations: 1.281 kB / 0.7281 GB, free: 128.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003467/0.6634, allocations: 1.479 MB / 0.7295 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/0.664, allocations: 91.27 kB / 0.7296 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.6675, allocations: 1.718 MB / 0.7313 GB, free: 127.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007804/0.6683, allocations: 1.195 MB / 0.7324 GB, free: 126.4 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6683, allocations: 0 / 0.7324 GB, free: 126.4 MB / 490.7 MB Notification: Performance of Templates: time 0.02296/0.6913, allocations: 19.34 MB / 0.7513 GB, free: 115.9 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)