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.001333/0.001333, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.247/1.247, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.0009629/0.000963, allocations: 85.86 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4294/0.4294, allocations: 78.06 MB / 409.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.106e-05/1.107e-05, allocations: 0 / 484.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 69.36 MB / 0.5413 GB, free: 6.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3323/0.4397, allocations: 96.55 MB / 0.6356 GB, free: 2.996 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.4399, allocations: 75.95 kB / 0.6356 GB, free: 2.922 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05071/0.4907, allocations: 20.27 MB / 0.6554 GB, free: 14.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4907, allocations: 0 / 0.6554 GB, free: 14.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.273e-05/0.4907, allocations: 16.66 kB / 0.6554 GB, free: 14.69 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.002605/0.4933, allocations: 1.185 MB / 0.6566 GB, free: 13.46 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.4934, allocations: 8.031 kB / 0.6566 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.4955, allocations: 378.5 kB / 0.657 GB, free: 13.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007962/0.4963, allocations: 0.5629 MB / 0.6575 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.4965, allocations: 130.3 kB / 0.6576 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.949e-05/0.4966, allocations: 31.98 kB / 0.6577 GB, free: 12.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008415/0.4974, allocations: 0.5146 MB / 0.6582 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000864/0.4983, allocations: 0.5076 MB / 0.6587 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4983, allocations: 0 / 0.6587 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.4984, allocations: 3.984 kB / 0.6587 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.4984, allocations: 12 kB / 0.6587 GB, free: 11.26 MB / 474.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.004186/0.5026, allocations: 2.516 MB / 0.6611 GB, free: 8.645 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/0.5151, allocations: 3.552 MB / 0.6646 GB, free: 5.047 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.5156, allocations: 344.6 kB / 0.6649 GB, free: 4.711 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.921e-05/0.5157, allocations: 8.562 kB / 0.665 GB, free: 4.699 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5157, allocations: 39.12 kB / 0.665 GB, free: 4.652 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 1.743e-06/0.5157, allocations: 3.938 kB / 0.665 GB, free: 4.648 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.005122/0.5208, allocations: 1.831 MB / 0.6668 GB, free: 2.801 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.5209, allocations: 63.97 kB / 0.6668 GB, free: 2.727 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007216/0.5216, allocations: 0.5938 MB / 0.6674 GB, free: 2.129 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.5217, allocations: 25.7 kB / 0.6674 GB, free: 2.098 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.5219, allocations: 368.5 kB / 0.6678 GB, free: 1.734 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.5221, allocations: 205 kB / 0.668 GB, free: 1.531 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.5222, allocations: 3.938 kB / 0.668 GB, free: 1.527 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.5223, allocations: 326 kB / 0.6683 GB, free: 1.203 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.5227, allocations: 285.6 kB / 0.6686 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.5232, allocations: 370.3 kB / 0.6689 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.5236, allocations: 318.7 kB / 0.6692 GB, free: 236 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5236, allocations: 4 kB / 0.6692 GB, free: 232 kB / 474.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.005564/0.5292, allocations: 1.996 MB / 0.6712 GB, free: 14.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.5292, allocations: 8 kB / 0.6712 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5293, allocations: 0 / 0.6712 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003547/0.5328, allocations: 0.9727 MB / 0.6722 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.5332, allocations: 80.66 kB / 0.6722 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007781/0.541, allocations: 5.223 MB / 0.6773 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/0.5419, allocations: 97.16 kB / 0.6774 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/0.542, allocations: 16 kB / 0.6774 GB, free: 7.574 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.0002374/0.5422, allocations: 125 kB / 0.6776 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.5424, allocations: 86.91 kB / 0.6776 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/0.5476, allocations: 1.887 MB / 0.6795 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.5476, allocations: 5.125 kB / 0.6795 GB, free: 5.449 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5476, allocations: 7.938 kB / 0.6795 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5476, allocations: 7.984 kB / 0.6795 GB, free: 5.434 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.006235/0.5539, allocations: 2.912 MB / 0.6823 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5539, allocations: 7.938 kB / 0.6824 GB, free: 2.438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.5543, allocations: 63.91 kB / 0.6824 GB, free: 2.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002671/0.557, allocations: 0.8393 MB / 0.6832 GB, free: 1.527 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.557, allocations: 2.562 kB / 0.6832 GB, free: 1.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005088/0.5621, allocations: 3.282 MB / 0.6864 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5622, allocations: 3.984 kB / 0.6864 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/0.5677, allocations: 2.375 MB / 0.6888 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.5679, allocations: 180 kB / 0.6889 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.5681, allocations: 0 / 0.6889 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/0.5688, allocations: 63.94 kB / 0.689 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/0.569, allocations: 120.3 kB / 0.6891 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.5691, allocations: 12 kB / 0.6891 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005517/0.5697, allocations: 472.1 kB / 0.6896 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.285e-06/0.5697, allocations: 0 / 0.6896 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007856/0.5705, allocations: 267.5 kB / 0.6898 GB, free: 10.62 MB / 0.4948 GB 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.0002221/0.5707, allocations: 130.9 kB / 0.69 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00315/0.5738, allocations: 1.503 MB / 0.6914 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.5739, allocations: 4.062 kB / 0.6914 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.5762, allocations: 1.06 MB / 0.6925 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.5766, allocations: 47.81 kB / 0.6925 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.5786, allocations: 1.174 MB / 0.6937 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.5791, allocations: 0.9571 MB / 0.6946 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002378/0.5793, allocations: 52.55 kB / 0.6946 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.5795, allocations: 39.44 kB / 0.6947 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of SimCode: time 2.686e-06/0.5795, allocations: 0 / 0.6947 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.01751/0.597, allocations: 11.61 MB / 0.706 GB, free: 9.996 MB / 0.5105 GB 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)