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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009649/0.0009649, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000819/0.000819, allocations: 89.8 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4321/0.4321, allocations: 78.01 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.085e-05, allocations: 4 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2853, allocations: 69.34 MB / 0.5479 GB, free: 20.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.3913, allocations: 97.23 MB / 0.6429 GB, free: 3.199 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001657/0.3915, allocations: 71.97 kB / 0.643 GB, free: 3.129 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05372/0.4452, allocations: 20.53 MB / 0.663 GB, free: 14.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4453, allocations: 0 / 0.663 GB, free: 14.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.36e-05/0.4453, allocations: 19.94 kB / 0.663 GB, free: 14.42 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002647/0.448, allocations: 1.176 MB / 0.6642 GB, free: 13.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.448, allocations: 15.97 kB / 0.6642 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.4502, allocations: 374.5 kB / 0.6646 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008337/0.4511, allocations: 0.5658 MB / 0.6651 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.4512, allocations: 146.1 kB / 0.6652 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4514, allocations: 52.98 kB / 0.6653 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.4524, allocations: 0.5687 MB / 0.6658 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4524, allocations: 7.938 kB / 0.6659 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.431e-05/0.4525, allocations: 20 kB / 0.6659 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.4525, allocations: 8 kB / 0.6659 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008982/0.4534, allocations: 0.539 MB / 0.6664 GB, free: 10.85 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004403/0.4578, allocations: 2.608 MB / 0.669 GB, free: 8.129 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/0.4708, allocations: 3.57 MB / 0.6724 GB, free: 4.512 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006731/0.4715, allocations: 354.5 kB / 0.6728 GB, free: 4.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.27e-05/0.4716, allocations: 16.55 kB / 0.6728 GB, free: 4.145 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.4717, allocations: 39.12 kB / 0.6728 GB, free: 4.098 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 3.677e-06/0.4717, allocations: 0 / 0.6728 GB, free: 4.098 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.005446/0.4771, allocations: 1.878 MB / 0.6747 GB, free: 2.207 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.4772, allocations: 55.97 kB / 0.6747 GB, free: 2.137 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009167/0.4781, allocations: 0.6485 MB / 0.6754 GB, free: 1.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-05/0.4782, allocations: 41.64 kB / 0.6754 GB, free: 1.434 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.4784, allocations: 364.7 kB / 0.6757 GB, free: 1.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.4786, allocations: 209 kB / 0.6759 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.4787, allocations: 16 kB / 0.676 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.4788, allocations: 326 kB / 0.6763 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.4793, allocations: 297.6 kB / 0.6766 GB, free: 240 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2463/0.7256, allocations: 376.6 kB / 0.6769 GB, free: 109.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007685/0.7264, allocations: 335.2 kB / 0.6772 GB, free: 109.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7264, allocations: 1 kB / 0.6772 GB, free: 109.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006427/0.7328, allocations: 2.052 MB / 0.6792 GB, free: 109.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.7329, allocations: 10.03 kB / 0.6792 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7329, allocations: 1.375 kB / 0.6792 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003957/0.7369, allocations: 0.9778 MB / 0.6802 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/0.7374, allocations: 90.02 kB / 0.6803 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008163/0.7456, allocations: 5.409 MB / 0.6856 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009972/0.7466, allocations: 113.1 kB / 0.6857 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.7467, allocations: 17.84 kB / 0.6857 GB, free: 106.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.0001734/0.7469, allocations: 138.1 kB / 0.6858 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.747, allocations: 81.25 kB / 0.6859 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005128/0.7522, allocations: 1.955 MB / 0.6878 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.7522, allocations: 7.812 kB / 0.6878 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7522, allocations: 7.438 kB / 0.6878 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.7522, allocations: 6.281 kB / 0.6878 GB, free: 106.5 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005672/0.7579, allocations: 3.037 MB / 0.6908 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7579, allocations: 0 / 0.6908 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.7583, allocations: 61.95 kB / 0.6909 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/0.7608, allocations: 0.857 MB / 0.6917 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/0.7609, allocations: 11.91 kB / 0.6917 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004799/0.7657, allocations: 3.358 MB / 0.695 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7657, allocations: 0 / 0.695 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005372/0.7711, allocations: 2.428 MB / 0.6974 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.7713, allocations: 177.4 kB / 0.6975 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.7714, allocations: 11.22 kB / 0.6975 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007211/0.7721, allocations: 76.22 kB / 0.6976 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/0.7724, allocations: 122.5 kB / 0.6977 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.7724, allocations: 11.28 kB / 0.6977 GB, free: 102.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005435/0.773, allocations: 0.5038 MB / 0.6982 GB, free: 101.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.773, allocations: 0 / 0.6982 GB, free: 101.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007673/0.7738, allocations: 285.8 kB / 0.6985 GB, free: 101.9 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.0002057/0.774, allocations: 149.8 kB / 0.6986 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002998/0.777, allocations: 1.549 MB / 0.7002 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.777, allocations: 3.188 kB / 0.7002 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.7792, allocations: 1.089 MB / 0.7012 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.7795, allocations: 54.38 kB / 0.7013 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.7812, allocations: 1.197 MB / 0.7024 GB, free: 99.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.7815, allocations: 0.9627 MB / 0.7034 GB, free: 99 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002209/0.7818, allocations: 51.38 kB / 0.7034 GB, free: 98.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.7819, allocations: 43.33 kB / 0.7035 GB, free: 98.98 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7819, allocations: 7.875 kB / 0.7035 GB, free: 98.98 MB / 490.7 MB Notification: Performance of Templates: time 0.01588/0.7978, allocations: 12.69 MB / 0.7159 GB, free: 90.74 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)