Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001979/0.001979, allocations: 187.2 kB / 7.462 MB, free: 2.242 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.043/1.043, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.0009211/0.0009212, allocations: 104.1 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3613/0.3613, allocations: 78.11 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.675e-06/7.764e-06, allocations: 4 kB / 484.4 MB, free: 4.574 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2186, allocations: 69.34 MB / 0.5407 GB, free: 21.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09248/0.3111, allocations: 96.47 MB / 0.635 GB, free: 8.488 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000181/0.3113, allocations: 75.94 kB / 0.635 GB, free: 8.414 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.04923/0.3606, allocations: 20.02 MB / 0.6546 GB, free: 4.227 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.128e-05/0.3606, allocations: 16 kB / 0.6546 GB, free: 4.211 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.002626/0.3633, allocations: 1.211 MB / 0.6558 GB, free: 2.953 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3633, allocations: 8.031 kB / 0.6558 GB, free: 2.945 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.3655, allocations: 398.4 kB / 0.6562 GB, free: 2.555 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008351/0.3663, allocations: 0.5697 MB / 0.6567 GB, free: 1.941 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.3665, allocations: 126.1 kB / 0.6568 GB, free: 1.801 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.3666, allocations: 36.56 kB / 0.6569 GB, free: 1.766 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000922/0.3675, allocations: 0.5136 MB / 0.6574 GB, free: 1.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/0.3684, allocations: 0.5004 MB / 0.6579 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3685, allocations: 7.922 kB / 0.6579 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.3685, allocations: 0 / 0.6579 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.3685, allocations: 12 kB / 0.6579 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004389/0.3729, allocations: 2.722 MB / 0.6606 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.3736, allocations: 362.6 kB / 0.6609 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004773/0.3741, allocations: 342.3 kB / 0.6612 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-05/0.3741, allocations: 16.48 kB / 0.6612 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.3742, allocations: 35.06 kB / 0.6613 GB, free: 13.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 1.964e-06/0.3742, allocations: 0 / 0.6613 GB, free: 13.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.005325/0.3795, allocations: 1.919 MB / 0.6631 GB, free: 11.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.3796, allocations: 59.91 kB / 0.6632 GB, free: 11.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006996/0.3803, allocations: 0.6016 MB / 0.6638 GB, free: 10.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.3803, allocations: 25.7 kB / 0.6638 GB, free: 10.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3805, allocations: 248.6 kB / 0.6641 GB, free: 10.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.3806, allocations: 197 kB / 0.6642 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.3807, allocations: 0 / 0.6642 GB, free: 10.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.3808, allocations: 334 kB / 0.6646 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.3812, allocations: 289.2 kB / 0.6648 GB, free: 9.418 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.3817, allocations: 372.7 kB / 0.6652 GB, free: 9.031 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.3822, allocations: 319.8 kB / 0.6655 GB, free: 8.719 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3822, allocations: 0 / 0.6655 GB, free: 8.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005891/0.3881, allocations: 2.095 MB / 0.6675 GB, free: 6.605 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3882, allocations: 4 kB / 0.6675 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3882, allocations: 4 kB / 0.6675 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003693/0.3919, allocations: 1.004 MB / 0.6685 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.3923, allocations: 91.89 kB / 0.6686 GB, free: 5.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007839/0.4002, allocations: 5.077 MB / 0.6736 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007878/0.401, allocations: 103.6 kB / 0.6737 GB, free: 76 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.401, allocations: 20 kB / 0.6737 GB, free: 56 kB / 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.1245/0.5255, allocations: 126.5 kB / 0.6738 GB, free: 147.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.5257, allocations: 81.62 kB / 0.6739 GB, free: 147.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004846/0.5305, allocations: 1.978 MB / 0.6758 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5306, allocations: 7.656 kB / 0.6758 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5306, allocations: 7.719 kB / 0.6758 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5306, allocations: 3.844 kB / 0.6758 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005484/0.5361, allocations: 2.936 MB / 0.6787 GB, free: 147 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5361, allocations: 0 / 0.6787 GB, free: 147 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004132/0.5365, allocations: 67.52 kB / 0.6788 GB, free: 147 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/0.539, allocations: 0.8704 MB / 0.6796 GB, free: 146.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/0.5391, allocations: 7.188 kB / 0.6796 GB, free: 146.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004733/0.5438, allocations: 3.118 MB / 0.6827 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5438, allocations: 0 / 0.6827 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005204/0.549, allocations: 2.48 MB / 0.6851 GB, free: 145.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.5492, allocations: 179.9 kB / 0.6853 GB, free: 145.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.5493, allocations: 0 / 0.6853 GB, free: 145.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000715/0.5501, allocations: 71.23 kB / 0.6853 GB, free: 145.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.5502, allocations: 60.33 kB / 0.6854 GB, free: 145.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.5503, allocations: 13.66 kB / 0.6854 GB, free: 145.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004414/0.5507, allocations: 476.4 kB / 0.6859 GB, free: 145.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006534/0.5514, allocations: 246.8 kB / 0.6861 GB, free: 145.2 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.0001941/0.5516, allocations: 142.2 kB / 0.6862 GB, free: 145.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.5545, allocations: 1.503 MB / 0.6877 GB, free: 144.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5545, allocations: 0 / 0.6877 GB, free: 144.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.5566, allocations: 1.055 MB / 0.6887 GB, free: 144.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.557, allocations: 48.92 kB / 0.6888 GB, free: 144.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.559, allocations: 1.193 MB / 0.6899 GB, free: 143.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.5594, allocations: 1.003 MB / 0.6909 GB, free: 143.1 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5595, allocations: 0 / 0.6909 GB, free: 143.1 MB / 490.7 MB Notification: Performance of Templates: time 0.01652/0.576, allocations: 12.4 MB / 0.703 GB, free: 142.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)