Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.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.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") [: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.002601/0.002601, allocations: 180.8 kB / 7.456 MB, free: 2.508 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.197/1.197, allocations: 221.4 MB / 229.3 MB, free: 3.398 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.0009388/0.0009387, allocations: 101.8 kB / 280.1 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4104/0.4104, allocations: 78.06 MB / 408.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.651e-06/5.741e-06, allocations: 0 / 484.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2455, allocations: 69.35 MB / 0.5407 GB, free: 21.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.3569, allocations: 96.49 MB / 0.6349 GB, free: 8.336 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001668/0.3571, allocations: 67.97 kB / 0.635 GB, free: 8.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06095/0.4181, allocations: 20.04 MB / 0.6546 GB, free: 4.066 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.126e-05/0.4182, allocations: 12 kB / 0.6546 GB, free: 4.055 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003356/0.4215, allocations: 1.211 MB / 0.6558 GB, free: 2.797 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4216, allocations: 8.031 kB / 0.6558 GB, free: 2.789 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/0.4243, allocations: 398.4 kB / 0.6561 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.4254, allocations: 0.558 MB / 0.6567 GB, free: 1.797 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.4256, allocations: 130.7 kB / 0.6568 GB, free: 1.652 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.4258, allocations: 35.91 kB / 0.6569 GB, free: 1.617 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001122/0.4269, allocations: 0.5253 MB / 0.6574 GB, free: 1.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.428, allocations: 0.5004 MB / 0.6579 GB, free: 0.582 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.428, allocations: 3.938 kB / 0.6579 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.4281, allocations: 0 / 0.6579 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.4281, allocations: 12 kB / 0.6579 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005417/0.4335, allocations: 2.72 MB / 0.6605 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007648/0.4343, allocations: 358.7 kB / 0.6609 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005687/0.4349, allocations: 342.3 kB / 0.6612 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.077e-05/0.435, allocations: 4.5 kB / 0.6612 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.435, allocations: 39.06 kB / 0.6612 GB, free: 12.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 2.094e-06/0.435, allocations: 3.938 kB / 0.6612 GB, free: 12.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.006741/0.4417, allocations: 1.93 MB / 0.6631 GB, free: 11.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.4418, allocations: 55.91 kB / 0.6632 GB, free: 10.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/0.4428, allocations: 0.5977 MB / 0.6638 GB, free: 10.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.588e-05/0.4428, allocations: 25.7 kB / 0.6638 GB, free: 10.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.443, allocations: 248.6 kB / 0.664 GB, free: 10.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.4432, allocations: 197 kB / 0.6642 GB, free: 9.883 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.4433, allocations: 0 / 0.6642 GB, free: 9.883 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4434, allocations: 330 kB / 0.6645 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.444, allocations: 297.3 kB / 0.6648 GB, free: 9.266 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.4446, allocations: 364.8 kB / 0.6652 GB, free: 8.887 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/0.4452, allocations: 327.7 kB / 0.6655 GB, free: 8.566 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4452, allocations: 0 / 0.6655 GB, free: 8.566 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.007097/0.4523, allocations: 2.095 MB / 0.6675 GB, free: 6.453 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4524, allocations: 7.938 kB / 0.6675 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4524, allocations: 7.938 kB / 0.6675 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00453/0.4569, allocations: 1.001 MB / 0.6685 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.4575, allocations: 91.83 kB / 0.6686 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009675/0.4672, allocations: 5.07 MB / 0.6735 GB, free: 28 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1423/0.6095, allocations: 100.9 kB / 0.6736 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.6097, allocations: 18.38 kB / 0.6737 GB, free: 146.8 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003144/0.61, allocations: 125.2 kB / 0.6738 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.6103, allocations: 82.8 kB / 0.6739 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005741/0.616, allocations: 1.982 MB / 0.6758 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.616, allocations: 7.844 kB / 0.6758 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.616, allocations: 7.438 kB / 0.6758 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.6161, allocations: 3.75 kB / 0.6758 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006697/0.6228, allocations: 2.941 MB / 0.6787 GB, free: 146.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6228, allocations: 0 / 0.6787 GB, free: 146.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.6233, allocations: 60.42 kB / 0.6787 GB, free: 146.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002977/0.6263, allocations: 0.8739 MB / 0.6796 GB, free: 146.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.6264, allocations: 3.125 kB / 0.6796 GB, free: 146.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00564/0.632, allocations: 3.114 MB / 0.6826 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.632, allocations: 0 / 0.6826 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006498/0.6385, allocations: 2.487 MB / 0.6851 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.6388, allocations: 174.3 kB / 0.6852 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.639, allocations: 3.906 kB / 0.6852 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008895/0.6399, allocations: 72.78 kB / 0.6853 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.6401, allocations: 54.66 kB / 0.6854 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.6401, allocations: 25.66 kB / 0.6854 GB, free: 144.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005645/0.6407, allocations: 467 kB / 0.6858 GB, free: 144.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007709/0.6415, allocations: 248.3 kB / 0.6861 GB, free: 144.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002413/0.6417, allocations: 142.1 kB / 0.6862 GB, free: 144.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003454/0.6452, allocations: 1.5 MB / 0.6877 GB, free: 143.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6452, allocations: 0 / 0.6877 GB, free: 143.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002435/0.6476, allocations: 1.055 MB / 0.6887 GB, free: 143.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.6481, allocations: 46.62 kB / 0.6887 GB, free: 143.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.6507, allocations: 1.202 MB / 0.6899 GB, free: 143.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005233/0.6513, allocations: 0.9929 MB / 0.6909 GB, free: 142.4 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6513, allocations: 3.875 kB / 0.6909 GB, free: 142.4 MB / 490.7 MB Notification: Performance of Templates: time 0.02095/0.6722, allocations: 12.4 MB / 0.703 GB, free: 141.9 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)