Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.003744/0.003744, allocations: 179.4 kB / 7.457 MB, free: 2.504 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.248/1.248, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0009717/0.0009717, allocations: 96.36 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4042/0.4042, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.22e-06/5.26e-06, allocations: 0 / 484.3 MB, free: 4.441 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.24, allocations: 69.35 MB / 0.5407 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.3498, allocations: 98.27 MB / 0.6367 GB, free: 6.535 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.35, allocations: 75.97 kB / 0.6368 GB, free: 6.461 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.09033/0.4404, allocations: 30.61 MB / 0.6666 GB, free: 7.648 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.963e-05/0.4405, allocations: 24 kB / 0.6667 GB, free: 7.625 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.004843/0.4453, allocations: 1.793 MB / 0.6684 GB, free: 5.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.4454, allocations: 8.031 kB / 0.6684 GB, free: 5.762 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003861/0.4493, allocations: 0.5836 MB / 0.669 GB, free: 5.176 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.4507, allocations: 0.8156 MB / 0.6698 GB, free: 4.309 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.451, allocations: 206.5 kB / 0.67 GB, free: 4.074 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.4512, allocations: 52 kB / 0.67 GB, free: 4.023 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001609/0.4528, allocations: 0.8123 MB / 0.6708 GB, free: 3.211 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.4544, allocations: 0.8571 MB / 0.6717 GB, free: 2.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.4545, allocations: 3.938 kB / 0.6717 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.4546, allocations: 0 / 0.6717 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.4546, allocations: 20 kB / 0.6717 GB, free: 2.316 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1452/0.5998, allocations: 3.904 MB / 0.6755 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.6009, allocations: 0.6152 MB / 0.6761 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007321/0.6017, allocations: 0.5218 MB / 0.6766 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.6018, allocations: 17.53 kB / 0.6766 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.6018, allocations: 43.41 kB / 0.6767 GB, free: 140.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 3.066e-06/0.6018, allocations: 3.625 kB / 0.6767 GB, free: 140.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01221/0.614, allocations: 4.08 MB / 0.6807 GB, free: 140.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.6141, allocations: 140.4 kB / 0.6808 GB, free: 140.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009438/0.615, allocations: 0.8539 MB / 0.6816 GB, free: 140.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.199e-05/0.6151, allocations: 25.7 kB / 0.6817 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.6153, allocations: 326.5 kB / 0.682 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.6156, allocations: 333.8 kB / 0.6823 GB, free: 140 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.6156, allocations: 0 / 0.6823 GB, free: 140 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.6157, allocations: 341.7 kB / 0.6826 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.6164, allocations: 450.8 kB / 0.683 GB, free: 139.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/0.6172, allocations: 0.5699 MB / 0.6836 GB, free: 139.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007767/0.618, allocations: 0.4901 MB / 0.6841 GB, free: 139.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.618, allocations: 0 / 0.6841 GB, free: 139.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01301/0.631, allocations: 4.273 MB / 0.6882 GB, free: 139.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00025/0.6312, allocations: 1.152 MB / 0.6894 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.6313, allocations: 2.562 kB / 0.6894 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005946/0.6372, allocations: 1.606 MB / 0.6909 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009117/0.6382, allocations: 158.4 kB / 0.6911 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.6523, allocations: 7.178 MB / 0.6981 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.654, allocations: 175.7 kB / 0.6983 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.6542, allocations: 36.92 kB / 0.6983 GB, free: 135.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.6542, allocations: 4.281 kB / 0.6983 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01377/0.6679, allocations: 4.114 MB / 0.7023 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.668, allocations: 3.656 kB / 0.7023 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006204/0.6742, allocations: 1.606 MB / 0.7039 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.6751, allocations: 162.1 kB / 0.7041 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/0.6899, allocations: 7.146 MB / 0.711 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.6917, allocations: 170.4 kB / 0.7112 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.6918, allocations: 34.25 kB / 0.7112 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.0003631/0.6922, allocations: 160 kB / 0.7114 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/0.6925, allocations: 128.8 kB / 0.7115 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.7053, allocations: 4.177 MB / 0.7156 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.7053, allocations: 9.031 kB / 0.7156 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.7053, allocations: 8.281 kB / 0.7156 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.7054, allocations: 7.797 kB / 0.7156 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.7198, allocations: 5.714 MB / 0.7212 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.7199, allocations: 3.188 kB / 0.7212 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007988/0.7207, allocations: 117.6 kB / 0.7213 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004772/0.7255, allocations: 1.47 MB / 0.7227 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.7256, allocations: 9.625 kB / 0.7227 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/0.737, allocations: 5.183 MB / 0.7278 GB, free: 126.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.737, allocations: 3.516 kB / 0.7278 GB, free: 126.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0141/0.7511, allocations: 4.938 MB / 0.7326 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.7515, allocations: 228 kB / 0.7329 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.7518, allocations: 2.625 kB / 0.7329 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.7532, allocations: 131.5 kB / 0.733 GB, free: 125.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003146/0.7536, allocations: 109.2 kB / 0.7331 GB, free: 125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.7537, allocations: 27.64 kB / 0.7331 GB, free: 125 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009547/0.7547, allocations: 0.6531 MB / 0.7337 GB, free: 124.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001884/0.7565, allocations: 0.6288 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.000269/0.7568, allocations: 140.9 kB / 0.7345 GB, free: 124.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009731/0.7666, allocations: 3.692 MB / 0.7381 GB, free: 121.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7666, allocations: 3.844 kB / 0.7381 GB, free: 121.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003906/0.7705, allocations: 1.414 MB / 0.7395 GB, free: 120.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.7712, allocations: 96.81 kB / 0.7396 GB, free: 120 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/0.7759, allocations: 1.987 MB / 0.7415 GB, free: 118.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000792/0.7767, allocations: 1.211 MB / 0.7427 GB, free: 117.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7767, allocations: 0 / 0.7427 GB, free: 117.2 MB / 490.7 MB Notification: Performance of Templates: time 0.0399/0.8166, allocations: 30.25 MB / 0.7722 GB, free: 94.16 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)