Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.001754/0.001754, allocations: 180.8 kB / 7.455 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.023/1.023, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.0008416/0.0008415, allocations: 96.78 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3482/0.3482, allocations: 78.11 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.939e-06/4.969e-06, allocations: 0 / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2104, allocations: 69.34 MB / 0.5407 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09224/0.3027, allocations: 98.27 MB / 0.6367 GB, free: 6.672 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.3029, allocations: 75.95 kB / 0.6368 GB, free: 6.598 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07555/0.3785, allocations: 30.6 MB / 0.6667 GB, free: 7.785 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.741e-05/0.3786, allocations: 24 kB / 0.6667 GB, free: 7.762 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003804/0.3824, allocations: 1.793 MB / 0.6684 GB, free: 5.906 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.3824, allocations: 11.97 kB / 0.6685 GB, free: 5.895 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/0.3856, allocations: 0.5875 MB / 0.669 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.3867, allocations: 0.8116 MB / 0.6698 GB, free: 4.441 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.387, allocations: 210.5 kB / 0.67 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.3871, allocations: 48 kB / 0.6701 GB, free: 4.156 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001354/0.3885, allocations: 0.8201 MB / 0.6709 GB, free: 3.336 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.3899, allocations: 0.8493 MB / 0.6717 GB, free: 2.473 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.3899, allocations: 11.94 kB / 0.6717 GB, free: 2.461 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.021e-05/0.39, allocations: 0 / 0.6717 GB, free: 2.461 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.39, allocations: 16 kB / 0.6717 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1291/0.5191, allocations: 3.898 MB / 0.6755 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000967/0.5201, allocations: 0.6115 MB / 0.6761 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000672/0.5208, allocations: 0.5281 MB / 0.6766 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.5209, allocations: 21.62 kB / 0.6767 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.5209, allocations: 46.22 kB / 0.6767 GB, free: 140.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.685e-06/0.521, allocations: 3.688 kB / 0.6767 GB, free: 140.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.0109/0.5319, allocations: 4.081 MB / 0.6807 GB, free: 140.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.5319, allocations: 139.7 kB / 0.6808 GB, free: 140.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008815/0.5328, allocations: 0.86 MB / 0.6817 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.5329, allocations: 25.7 kB / 0.6817 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.533, allocations: 322 kB / 0.682 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.5333, allocations: 331.1 kB / 0.6823 GB, free: 140 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.5333, allocations: 0 / 0.6823 GB, free: 140 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.5334, allocations: 341 kB / 0.6826 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/0.534, allocations: 447.9 kB / 0.6831 GB, free: 139.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.5347, allocations: 0.5679 MB / 0.6836 GB, free: 139.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006932/0.5354, allocations: 0.4941 MB / 0.6841 GB, free: 139.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5354, allocations: 3.281 kB / 0.6841 GB, free: 139.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01143/0.5469, allocations: 4.277 MB / 0.6883 GB, free: 139.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.547, allocations: 1.145 MB / 0.6894 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.547, allocations: 3.688 kB / 0.6894 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005109/0.5521, allocations: 1.6 MB / 0.691 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007168/0.5529, allocations: 164.2 kB / 0.6911 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.5649, allocations: 7.162 MB / 0.6981 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.5662, allocations: 183.9 kB / 0.6983 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/0.5663, allocations: 36.84 kB / 0.6983 GB, free: 135.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.05e-06/0.5663, allocations: 3.25 kB / 0.6983 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01172/0.5781, allocations: 4.125 MB / 0.7024 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5781, allocations: 2.531 kB / 0.7024 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005309/0.5834, allocations: 1.596 MB / 0.7039 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/0.5841, allocations: 158.4 kB / 0.7041 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.5967, allocations: 7.156 MB / 0.7111 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.5981, allocations: 170.1 kB / 0.7112 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/0.5982, allocations: 34.28 kB / 0.7113 GB, free: 132.1 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 87 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {19 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002718/0.5984, allocations: 156.5 kB / 0.7114 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.5987, allocations: 124.4 kB / 0.7115 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.6093, allocations: 4.179 MB / 0.7156 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.6093, allocations: 11.09 kB / 0.7156 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.6093, allocations: 8.688 kB / 0.7156 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.6093, allocations: 3.516 kB / 0.7156 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.6214, allocations: 5.715 MB / 0.7212 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6214, allocations: 0 / 0.7212 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/0.6221, allocations: 124.5 kB / 0.7213 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004123/0.6262, allocations: 1.466 MB / 0.7228 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-05/0.6263, allocations: 6.938 kB / 0.7228 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009822/0.6361, allocations: 5.191 MB / 0.7278 GB, free: 126.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.6362, allocations: 3 kB / 0.7278 GB, free: 126.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01207/0.6482, allocations: 4.941 MB / 0.7327 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/0.6485, allocations: 223.3 kB / 0.7329 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.6487, allocations: 6.719 kB / 0.7329 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.6499, allocations: 130.8 kB / 0.733 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.6502, allocations: 105.5 kB / 0.7331 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.339e-05/0.6503, allocations: 27.28 kB / 0.7331 GB, free: 125.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007496/0.6511, allocations: 0.6533 MB / 0.7338 GB, free: 124.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001528/0.6526, allocations: 0.6332 MB / 0.7344 GB, free: 124.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (69): * Single equations (assignments): 67 * 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 {(21,21.8%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002217/0.6528, allocations: 140.9 kB / 0.7345 GB, free: 124.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00811/0.6609, allocations: 3.696 MB / 0.7381 GB, free: 121.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.661, allocations: 0 / 0.7381 GB, free: 121.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003298/0.6643, allocations: 1.416 MB / 0.7395 GB, free: 120.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.6648, allocations: 89.27 kB / 0.7396 GB, free: 120.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.6685, allocations: 1.994 MB / 0.7415 GB, free: 118.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/0.6692, allocations: 1.21 MB / 0.7427 GB, free: 117.4 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6692, allocations: 0 / 0.7427 GB, free: 117.4 MB / 490.7 MB Notification: Performance of Templates: time 0.03141/0.7006, allocations: 30.25 MB / 0.7723 GB, free: 94.38 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)