Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.002989/0.002989, allocations: 180.5 kB / 7.454 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.227/1.227, allocations: 221.4 MB / 229.3 MB, free: 3 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.001002/0.001002, allocations: 101.5 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4088/0.4088, allocations: 78.06 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.571e-06/5.69e-06, allocations: 0 / 484.3 MB, free: 4.422 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2409, allocations: 69.35 MB / 0.5407 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1095/0.3505, allocations: 98.05 MB / 0.6365 GB, free: 6.777 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.3507, allocations: 79.95 kB / 0.6365 GB, free: 6.699 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.09152/0.4423, allocations: 30.17 MB / 0.666 GB, free: 8.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.77e-05/0.4424, allocations: 20 kB / 0.666 GB, free: 8.301 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.004942/0.4473, allocations: 1.773 MB / 0.6678 GB, free: 6.465 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.4474, allocations: 12.03 kB / 0.6678 GB, free: 6.453 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004007/0.4514, allocations: 0.5797 MB / 0.6683 GB, free: 5.871 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.4532, allocations: 0.7959 MB / 0.6691 GB, free: 5.023 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.4535, allocations: 214.5 kB / 0.6693 GB, free: 4.781 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.4537, allocations: 51.89 kB / 0.6694 GB, free: 4.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001784/0.4555, allocations: 0.8006 MB / 0.6701 GB, free: 3.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.4572, allocations: 0.8493 MB / 0.671 GB, free: 3.066 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.4573, allocations: 0 / 0.671 GB, free: 3.066 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.55e-05/0.4574, allocations: 0 / 0.671 GB, free: 3.066 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.4574, allocations: 24 kB / 0.671 GB, free: 3.043 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1485/0.6059, allocations: 3.872 MB / 0.6748 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.6069, allocations: 0.6102 MB / 0.6754 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007017/0.6076, allocations: 0.5159 MB / 0.6759 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.6078, allocations: 21.52 kB / 0.6759 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.6078, allocations: 42.59 kB / 0.6759 GB, free: 141.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 3.487e-06/0.6078, allocations: 0 / 0.6759 GB, free: 141.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01233/0.6201, allocations: 4.068 MB / 0.6799 GB, free: 141 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.6202, allocations: 141.1 kB / 0.68 GB, free: 140.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.6213, allocations: 0.8469 MB / 0.6809 GB, free: 140.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.6214, allocations: 25.7 kB / 0.6809 GB, free: 140.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.6215, allocations: 322.2 kB / 0.6812 GB, free: 140.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.6219, allocations: 322.1 kB / 0.6815 GB, free: 140.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.6219, allocations: 0 / 0.6815 GB, free: 140.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.622, allocations: 344.3 kB / 0.6818 GB, free: 140.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007008/0.6227, allocations: 439.3 kB / 0.6823 GB, free: 140.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/0.6235, allocations: 0.5572 MB / 0.6828 GB, free: 140 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007662/0.6242, allocations: 0.4895 MB / 0.6833 GB, free: 140 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.6243, allocations: 0 / 0.6833 GB, free: 140 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01244/0.6367, allocations: 4.134 MB / 0.6873 GB, free: 139.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.6369, allocations: 1.145 MB / 0.6884 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.6369, allocations: 3.906 kB / 0.6884 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005144/0.6421, allocations: 1.493 MB / 0.6899 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.6433, allocations: 191.7 kB / 0.6901 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.6558, allocations: 5.715 MB / 0.6957 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.6574, allocations: 193.3 kB / 0.6958 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.6575, allocations: 30.89 kB / 0.6959 GB, free: 136.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.6576, allocations: 3.875 kB / 0.6959 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01261/0.6702, allocations: 3.977 MB / 0.6998 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.6702, allocations: 5.531 kB / 0.6998 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005299/0.6755, allocations: 1.483 MB / 0.7012 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.6767, allocations: 178.3 kB / 0.7014 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.6895, allocations: 5.705 MB / 0.707 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.6914, allocations: 168.8 kB / 0.7071 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.6915, allocations: 42.53 kB / 0.7072 GB, free: 135 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.0003241/0.6919, allocations: 156.3 kB / 0.7073 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000311/0.6922, allocations: 125.8 kB / 0.7074 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.7046, allocations: 4.159 MB / 0.7115 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.7047, allocations: 10.88 kB / 0.7115 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.7047, allocations: 8.125 kB / 0.7115 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.7047, allocations: 3.328 kB / 0.7115 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.7186, allocations: 5.671 MB / 0.7171 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.7186, allocations: 0 / 0.7171 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007753/0.7194, allocations: 118.5 kB / 0.7172 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004764/0.7242, allocations: 1.444 MB / 0.7186 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.7243, allocations: 14.17 kB / 0.7186 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.7353, allocations: 5.255 MB / 0.7237 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7354, allocations: 0 / 0.7237 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0138/0.7492, allocations: 4.914 MB / 0.7285 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.7496, allocations: 229.8 kB / 0.7287 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002412/0.7499, allocations: 3.531 kB / 0.7287 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.7513, allocations: 128.1 kB / 0.7289 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/0.7516, allocations: 108.9 kB / 0.729 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.573e-05/0.7517, allocations: 23.12 kB / 0.729 GB, free: 128.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008878/0.7526, allocations: 0.6433 MB / 0.7296 GB, free: 128.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001906/0.7546, allocations: 0.615 MB / 0.7302 GB, free: 128.1 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.0002518/0.7548, allocations: 141.4 kB / 0.7304 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00884/0.7637, allocations: 3.403 MB / 0.7337 GB, free: 125.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7637, allocations: 0 / 0.7337 GB, free: 125.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003758/0.7674, allocations: 1.368 MB / 0.735 GB, free: 124.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.7681, allocations: 93.31 kB / 0.7351 GB, free: 124.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.7728, allocations: 1.899 MB / 0.737 GB, free: 122.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007608/0.7736, allocations: 1.2 MB / 0.7381 GB, free: 121.8 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.7736, allocations: 0 / 0.7381 GB, free: 121.8 MB / 490.7 MB Notification: Performance of Templates: time 0.03847/0.8121, allocations: 29.39 MB / 0.7668 GB, free: 99.98 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)