Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006819/0.006819, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 90.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07173/0.07173, allocations: 12.6 MB / 330.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4269/0.4269, allocations: 78.52 MB / 460 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.0005178, allocations: 23.31 kB / 0.5285 GB, free: 35.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1511, allocations: 69.33 MB / 0.5962 GB, free: 3.812 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.2886, allocations: 98.86 MB / 0.6927 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.2889, allocations: 75.97 kB / 0.6928 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3443/0.6332, allocations: 19.96 MB / 0.7123 GB, free: 95.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6332, allocations: 0.6562 kB / 0.7123 GB, free: 95.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.751e-05/0.6333, allocations: 17.16 kB / 0.7123 GB, free: 95.5 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.003539/0.6368, allocations: 1.383 MB / 0.7136 GB, free: 94.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.6369, allocations: 13.05 kB / 0.7137 GB, free: 94.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.6391, allocations: 394.9 kB / 0.714 GB, free: 94.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009207/0.6401, allocations: 0.5707 MB / 0.7146 GB, free: 93.85 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.6402, allocations: 142.6 kB / 0.7147 GB, free: 93.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.6404, allocations: 47.62 kB / 0.7148 GB, free: 93.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.6416, allocations: 0.6922 MB / 0.7155 GB, free: 93.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6417, allocations: 0 / 0.7155 GB, free: 93.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.6417, allocations: 19.44 kB / 0.7155 GB, free: 93.31 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.6417, allocations: 12.28 kB / 0.7155 GB, free: 93.31 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.6429, allocations: 0.6648 MB / 0.7161 GB, free: 93 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003975/0.6469, allocations: 2.606 MB / 0.7187 GB, free: 90.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.659, allocations: 3.758 MB / 0.7223 GB, free: 88.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.6592, allocations: 8.547 kB / 0.7224 GB, free: 88.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.6593, allocations: 47.05 kB / 0.7224 GB, free: 88.53 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 6.011e-06/0.6593, allocations: 0 / 0.7224 GB, free: 88.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.01318/0.6725, allocations: 4.326 MB / 0.7266 GB, free: 84.13 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.6726, allocations: 55.97 kB / 0.7267 GB, free: 84.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009615/0.6735, allocations: 0.66 MB / 0.7273 GB, free: 83.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.799e-05/0.6736, allocations: 37.7 kB / 0.7274 GB, free: 83.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.6738, allocations: 368.7 kB / 0.7277 GB, free: 82.99 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.674, allocations: 201 kB / 0.7279 GB, free: 82.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.6741, allocations: 12 kB / 0.7279 GB, free: 82.78 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.6741, allocations: 330 kB / 0.7282 GB, free: 82.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007041/0.6748, allocations: 421.1 kB / 0.7286 GB, free: 82.04 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007332/0.6756, allocations: 0.4939 MB / 0.7291 GB, free: 81.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007325/0.6763, allocations: 454.5 kB / 0.7295 GB, free: 81.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6763, allocations: 0 / 0.7295 GB, free: 81.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006254/0.6826, allocations: 2.394 MB / 0.7319 GB, free: 78.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6826, allocations: 8 kB / 0.7319 GB, free: 78.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.6827, allocations: 4 kB / 0.7319 GB, free: 78.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004022/0.6867, allocations: 1.212 MB / 0.7331 GB, free: 77.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.6872, allocations: 87.91 kB / 0.7332 GB, free: 77.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009759/0.6969, allocations: 6.518 MB / 0.7395 GB, free: 70.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.6981, allocations: 107.4 kB / 0.7396 GB, free: 70.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.6982, allocations: 20 kB / 0.7396 GB, free: 70.43 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" fixed = true ) "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 () * Number of clocked 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.000412/0.6986, allocations: 207.1 kB / 0.7398 GB, free: 70.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.6987, allocations: 82.97 kB / 0.7399 GB, free: 70.13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0055/0.7042, allocations: 2.293 MB / 0.7422 GB, free: 67.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.7043, allocations: 4 kB / 0.7422 GB, free: 67.81 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7043, allocations: 4 kB / 0.7422 GB, free: 67.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.7043, allocations: 7.953 kB / 0.7422 GB, free: 67.8 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006549/0.7109, allocations: 3.38 MB / 0.7455 GB, free: 64.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7109, allocations: 3.938 kB / 0.7455 GB, free: 64.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/0.7113, allocations: 67.91 kB / 0.7455 GB, free: 64.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002985/0.7143, allocations: 1.083 MB / 0.7466 GB, free: 63.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/0.7144, allocations: 12 kB / 0.7466 GB, free: 63.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006981/0.7214, allocations: 4.29 MB / 0.7508 GB, free: 58.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7214, allocations: 0 / 0.7508 GB, free: 58.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006397/0.7278, allocations: 2.897 MB / 0.7536 GB, free: 55.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.7283, allocations: 176 kB / 0.7538 GB, free: 55.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.7284, allocations: 12 kB / 0.7538 GB, free: 55.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/0.7292, allocations: 79.86 kB / 0.7539 GB, free: 55.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.7294, allocations: 120.3 kB / 0.754 GB, free: 55.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-05/0.7295, allocations: 12 kB / 0.754 GB, free: 55.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005867/0.7301, allocations: 0.5108 MB / 0.7545 GB, free: 54.88 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7301, allocations: 4 kB / 0.7545 GB, free: 54.88 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008347/0.7309, allocations: 283.7 kB / 0.7548 GB, free: 54.6 MB / 474.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 () * Number of clocked 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.000235/0.7312, allocations: 143.8 kB / 0.7549 GB, free: 54.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003599/0.7348, allocations: 1.793 MB / 0.7567 GB, free: 52.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7348, allocations: 0 / 0.7567 GB, free: 52.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00246/0.7373, allocations: 1.213 MB / 0.7579 GB, free: 51.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.7378, allocations: 59.72 kB / 0.7579 GB, free: 51.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.7402, allocations: 1.806 MB / 0.7597 GB, free: 49.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.7405, allocations: 0.9612 MB / 0.7606 GB, free: 48.44 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.7408, allocations: 52.53 kB / 0.7607 GB, free: 48.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.7409, allocations: 43.44 kB / 0.7607 GB, free: 48.35 MB / 474.7 MB Notification: Performance of SimCode: time 7.92e-07/0.7409, allocations: 3.938 kB / 0.7607 GB, free: 48.34 MB / 474.7 MB Notification: Performance of Templates: time 0.0176/0.7585, allocations: 12.68 MB / 0.7731 GB, free: 35.69 MB / 474.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)