Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.002028/0.002028, allocations: 183 kB / 7.461 MB, free: 2.5 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.027/1.027, allocations: 221.4 MB / 229.3 MB, free: 3.234 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.0008988/0.0008988, allocations: 90.12 kB / 280.1 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3531/0.3531, allocations: 78.11 MB / 409 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.689e-06/4.789e-06, allocations: 0 / 484.4 MB, free: 4.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2191, allocations: 69.33 MB / 0.5408 GB, free: 21.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09429/0.3134, allocations: 97.65 MB / 0.6361 GB, free: 7.184 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.3136, allocations: 83.89 kB / 0.6362 GB, free: 7.102 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08661/0.4003, allocations: 34.37 MB / 0.6698 GB, free: 4.461 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.757e-05/0.4004, allocations: 31.94 kB / 0.6698 GB, free: 4.43 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004033/0.4044, allocations: 1.734 MB / 0.6715 GB, free: 2.637 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.4044, allocations: 8.031 kB / 0.6715 GB, free: 2.629 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.4078, allocations: 0.5797 MB / 0.6721 GB, free: 2.047 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.409, allocations: 0.7877 MB / 0.6728 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.4092, allocations: 210.5 kB / 0.673 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.4094, allocations: 44 kB / 0.6731 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00136/0.4107, allocations: 0.8123 MB / 0.6739 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1267/0.5374, allocations: 0.826 MB / 0.6747 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.5375, allocations: 3.781 kB / 0.6747 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.858e-05/0.5375, allocations: 3.281 kB / 0.6747 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5376, allocations: 21.8 kB / 0.6747 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005347/0.5429, allocations: 3.785 MB / 0.6784 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/0.5438, allocations: 0.6009 MB / 0.679 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005972/0.5444, allocations: 0.5046 MB / 0.6795 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.47e-05/0.5445, allocations: 20.92 kB / 0.6795 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.5445, allocations: 46.69 kB / 0.6795 GB, free: 140.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.575e-06/0.5445, allocations: 0 / 0.6795 GB, free: 140.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01073/0.5553, allocations: 4.045 MB / 0.6835 GB, free: 140.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.5553, allocations: 141.7 kB / 0.6836 GB, free: 140.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007505/0.5561, allocations: 0.8091 MB / 0.6844 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.5561, allocations: 26.92 kB / 0.6844 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.5562, allocations: 319.2 kB / 0.6847 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.5565, allocations: 326.3 kB / 0.6851 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.5565, allocations: 0.7188 kB / 0.6851 GB, free: 139.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.5566, allocations: 341.2 kB / 0.6854 GB, free: 139.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/0.5572, allocations: 432.4 kB / 0.6858 GB, free: 139.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.5578, allocations: 0.5507 MB / 0.6863 GB, free: 139.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006385/0.5585, allocations: 491.8 kB / 0.6868 GB, free: 139.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5585, allocations: 0 / 0.6868 GB, free: 139.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01087/0.5694, allocations: 4.168 MB / 0.6909 GB, free: 139.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.5695, allocations: 1.141 MB / 0.692 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5695, allocations: 3.969 kB / 0.692 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0046/0.5741, allocations: 1.503 MB / 0.6935 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/0.5749, allocations: 165.7 kB / 0.6936 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.5859, allocations: 5.835 MB / 0.6993 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.5872, allocations: 182 kB / 0.6995 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.714e-05/0.5873, allocations: 36.05 kB / 0.6995 GB, free: 136.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.901e-06/0.5873, allocations: 3.812 kB / 0.6995 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0115/0.5988, allocations: 4.018 MB / 0.7034 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.5988, allocations: 7.438 kB / 0.7035 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004818/0.6036, allocations: 1.506 MB / 0.7049 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008281/0.6045, allocations: 160.6 kB / 0.7051 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.6157, allocations: 5.823 MB / 0.7108 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.617, allocations: 172.6 kB / 0.7109 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.191e-05/0.6171, allocations: 31.95 kB / 0.711 GB, free: 134.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 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 order4.delta:VARIABLE(start = order4.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 (88): * Single equations (assignments): 85 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002862/0.6174, allocations: 166.5 kB / 0.7111 GB, free: 134.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.6176, allocations: 124.1 kB / 0.7112 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/0.6281, allocations: 4.127 MB / 0.7153 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.6282, allocations: 12.03 kB / 0.7153 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.6282, allocations: 12.44 kB / 0.7153 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.6282, allocations: 3.844 kB / 0.7153 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.6401, allocations: 5.608 MB / 0.7208 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6401, allocations: 2.906 kB / 0.7208 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.6407, allocations: 115.7 kB / 0.7209 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004152/0.6449, allocations: 1.445 MB / 0.7223 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.032e-05/0.645, allocations: 11.77 kB / 0.7223 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009789/0.6548, allocations: 5.228 MB / 0.7274 GB, free: 128.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6548, allocations: 2.344 kB / 0.7274 GB, free: 128.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01217/0.667, allocations: 4.866 MB / 0.7322 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.6672, allocations: 218.1 kB / 0.7324 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.6674, allocations: 10.03 kB / 0.7324 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.6686, allocations: 131.2 kB / 0.7325 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.6688, allocations: 107.6 kB / 0.7326 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.6689, allocations: 25.19 kB / 0.7326 GB, free: 127 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006674/0.6696, allocations: 0.6129 MB / 0.7332 GB, free: 126.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001481/0.6711, allocations: 0.6093 MB / 0.7338 GB, free: 126.5 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,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000211/0.6713, allocations: 144.9 kB / 0.734 GB, free: 126.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007071/0.6784, allocations: 3.354 MB / 0.7372 GB, free: 123.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6784, allocations: 0 / 0.7372 GB, free: 123.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003145/0.6815, allocations: 1.369 MB / 0.7386 GB, free: 122.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.6821, allocations: 90.25 kB / 0.7387 GB, free: 122.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.6855, allocations: 1.79 MB / 0.7404 GB, free: 120.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006188/0.6861, allocations: 1.186 MB / 0.7416 GB, free: 119.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6861, allocations: 0 / 0.7416 GB, free: 119.4 MB / 490.7 MB Notification: Performance of Templates: time 0.03087/0.717, allocations: 28.79 MB / 0.7697 GB, free: 97.34 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)