Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001898/0.001898, allocations: 180.2 kB / 7.461 MB, free: 2.234 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.037/1.037, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.0009045/0.0009045, allocations: 93.5 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.354/0.354, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.04e-06/5.07e-06, allocations: 0 / 484.4 MB, free: 4.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2141, allocations: 69.34 MB / 0.5407 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09592/0.3101, allocations: 98.04 MB / 0.6365 GB, free: 6.926 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.3103, allocations: 79.94 kB / 0.6366 GB, free: 6.848 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07592/0.3862, allocations: 30.18 MB / 0.666 GB, free: 8.465 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.212e-05/0.3863, allocations: 23.94 kB / 0.6661 GB, free: 8.441 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00396/0.3902, allocations: 1.773 MB / 0.6678 GB, free: 6.605 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.3903, allocations: 8.031 kB / 0.6678 GB, free: 6.598 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.3936, allocations: 0.5836 MB / 0.6684 GB, free: 6.012 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.3948, allocations: 0.7882 MB / 0.6691 GB, free: 5.172 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.395, allocations: 210.5 kB / 0.6693 GB, free: 4.934 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.3952, allocations: 51.91 kB / 0.6694 GB, free: 4.883 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00136/0.3965, allocations: 0.8123 MB / 0.6702 GB, free: 4.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.3979, allocations: 0.8377 MB / 0.671 GB, free: 3.219 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.3979, allocations: 4 kB / 0.671 GB, free: 3.215 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-05/0.398, allocations: 0 / 0.671 GB, free: 3.215 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.398, allocations: 20 kB / 0.671 GB, free: 3.195 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1277/0.5257, allocations: 3.874 MB / 0.6748 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009149/0.5267, allocations: 0.6082 MB / 0.6754 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006215/0.5273, allocations: 0.518 MB / 0.6759 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.742e-05/0.5274, allocations: 22.56 kB / 0.6759 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.5274, allocations: 46.34 kB / 0.676 GB, free: 140.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.876e-06/0.5274, allocations: 0 / 0.676 GB, free: 140.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01068/0.5381, allocations: 4.064 MB / 0.6799 GB, free: 140.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.5381, allocations: 139.5 kB / 0.6801 GB, free: 140.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007821/0.5389, allocations: 0.8488 MB / 0.6809 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.777e-05/0.539, allocations: 25.7 kB / 0.6809 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.5391, allocations: 317.7 kB / 0.6812 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.5393, allocations: 325.1 kB / 0.6815 GB, free: 140 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.5394, allocations: 3.219 kB / 0.6815 GB, free: 140 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.5395, allocations: 342 kB / 0.6819 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006036/0.5401, allocations: 440.7 kB / 0.6823 GB, free: 139.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/0.5407, allocations: 0.5575 MB / 0.6828 GB, free: 139.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000663/0.5414, allocations: 496.8 kB / 0.6833 GB, free: 139.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5414, allocations: 0.6875 kB / 0.6833 GB, free: 139.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01082/0.5522, allocations: 4.135 MB / 0.6874 GB, free: 139.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.5524, allocations: 1.148 MB / 0.6885 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5524, allocations: 3.875 kB / 0.6885 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00455/0.557, allocations: 1.493 MB / 0.6899 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009745/0.5579, allocations: 188.7 kB / 0.6901 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.5688, allocations: 5.718 MB / 0.6957 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.5701, allocations: 181.8 kB / 0.6959 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/0.5702, allocations: 34.11 kB / 0.6959 GB, free: 136.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.869e-06/0.5702, allocations: 9.531 kB / 0.6959 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01113/0.5813, allocations: 3.97 MB / 0.6998 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5813, allocations: 3.156 kB / 0.6998 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004722/0.5861, allocations: 1.499 MB / 0.7013 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009673/0.587, allocations: 178.1 kB / 0.7014 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.5983, allocations: 5.699 MB / 0.707 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.5996, allocations: 168.2 kB / 0.7072 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/0.5997, allocations: 37.59 kB / 0.7072 GB, free: 134.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002571/0.6, allocations: 163.1 kB / 0.7073 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.6002, allocations: 127.2 kB / 0.7075 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.6109, allocations: 4.149 MB / 0.7115 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.6109, allocations: 12.88 kB / 0.7115 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.475e-06/0.6109, allocations: 9 kB / 0.7115 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.611, allocations: 6.891 kB / 0.7115 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.623, allocations: 5.667 MB / 0.7171 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.623, allocations: 0 / 0.7171 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.6237, allocations: 121.2 kB / 0.7172 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004152/0.6278, allocations: 1.443 MB / 0.7186 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-05/0.6279, allocations: 7.781 kB / 0.7186 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009573/0.6375, allocations: 5.264 MB / 0.7238 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6375, allocations: 2.594 kB / 0.7238 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01178/0.6493, allocations: 4.91 MB / 0.7285 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.6496, allocations: 227.1 kB / 0.7288 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.6498, allocations: 4.812 kB / 0.7288 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.651, allocations: 133 kB / 0.7289 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.6513, allocations: 104.9 kB / 0.729 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.153e-05/0.6514, allocations: 27.17 kB / 0.729 GB, free: 128 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007312/0.6521, allocations: 0.6445 MB / 0.7297 GB, free: 127.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00153/0.6536, allocations: 0.6082 MB / 0.7302 GB, free: 127.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (68): * Single equations (assignments): 66 * 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 {(18,25.9%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002351/0.6539, allocations: 153.3 kB / 0.7304 GB, free: 127.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007816/0.6617, allocations: 3.398 MB / 0.7337 GB, free: 125.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6617, allocations: 4.062 kB / 0.7337 GB, free: 125.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003186/0.6649, allocations: 1.364 MB / 0.735 GB, free: 124.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.6654, allocations: 91.31 kB / 0.7351 GB, free: 124.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.6693, allocations: 1.904 MB / 0.737 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/0.6701, allocations: 1.205 MB / 0.7382 GB, free: 121.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6701, allocations: 0 / 0.7382 GB, free: 121.5 MB / 490.7 MB Notification: Performance of Templates: time 0.03184/0.702, allocations: 29.39 MB / 0.7669 GB, free: 99.8 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)