Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009916/0.0009918, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.212/1.212, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001542/0.001542, allocations: 103.5 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.792e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06691/0.06695, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3016/0.3686, allocations: 85.11 MB / 392.7 MB, free: 7.273 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.3689, allocations: 79.58 kB / 392.8 MB, free: 7.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.563/2.932, allocations: 0.7781 GB / 1.162 GB, free: 11.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.366e-06/2.932, allocations: 0 / 1.162 GB, free: 11.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009749/2.933, allocations: 387.5 kB / 1.162 GB, free: 10.72 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4707 * Number of variables: 4707 Notification: Performance of Generate backend data structure: time 0.5974/3.53, allocations: 15.11 MB / 1.177 GB, free: 15.98 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/3.53, allocations: 11.94 kB / 1.177 GB, free: 15.98 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/3.541, allocations: 2.078 MB / 1.179 GB, free: 15.14 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02898/3.57, allocations: 10.57 MB / 1.189 GB, free: 14.27 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001799/3.572, allocations: 1.264 MB / 1.19 GB, free: 14.24 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005602/3.577, allocations: 1.618 MB / 1.192 GB, free: 14.23 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07264/3.65, allocations: 27.58 MB / 1.219 GB, free: 12.12 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007686/3.651, allocations: 27.22 kB / 1.219 GB, free: 12.11 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006278/3.657, allocations: 0.7029 MB / 1.22 GB, free: 12.11 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008686/3.658, allocations: 0.7373 MB / 1.22 GB, free: 12.11 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04137/3.699, allocations: 20.24 MB / 1.24 GB, free: 11.96 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.178/3.877, allocations: 86.71 MB / 1.325 GB, free: 0.8516 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02258/3.9, allocations: 13.84 MB / 1.338 GB, free: 4.086 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.6213/4.521, allocations: 12.11 MB / 1.35 GB, free: 63.29 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/4.523, allocations: 243.6 kB / 1.35 GB, free: 63.24 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/4.523, allocations: 123.9 kB / 1.35 GB, free: 63.19 MB / 458.9 MB Notification: Performance of pre-optimization done (n=1122): time 1.469e-05/4.523, allocations: 0 / 1.35 GB, free: 63.19 MB / 458.9 MB Notification: Performance of matching and sorting (n=1122): time 0.03945/4.562, allocations: 21.41 MB / 1.371 GB, free: 62.82 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/4.562, allocations: 218 kB / 1.372 GB, free: 62.66 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004782/4.567, allocations: 2.943 MB / 1.374 GB, free: 62.43 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 0.002122/4.569, allocations: 153.8 kB / 1.375 GB, free: 62.4 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.00299/4.572, allocations: 5.567 MB / 1.38 GB, free: 59.83 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.005447/4.578, allocations: 3.657 MB / 1.384 GB, free: 57.43 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009208/4.579, allocations: 153.1 kB / 1.384 GB, free: 57.43 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 0.001245/4.58, allocations: 0.7391 MB / 1.385 GB, free: 57.11 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01221/4.592, allocations: 7.681 MB / 1.392 GB, free: 57.09 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01529/4.608, allocations: 9.19 MB / 1.401 GB, free: 55.73 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/4.623, allocations: 9.238 MB / 1.41 GB, free: 55.59 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/4.623, allocations: 11.16 kB / 1.41 GB, free: 55.59 MB / 458.9 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.04656/4.67, allocations: 23.05 MB / 1.433 GB, free: 50.46 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/4.67, allocations: 20.09 kB / 1.433 GB, free: 50.46 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002688/4.67, allocations: 37.7 kB / 1.433 GB, free: 50.46 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02149/4.692, allocations: 10.75 MB / 1.443 GB, free: 47.41 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0042/4.696, allocations: 0.9288 MB / 1.444 GB, free: 47.38 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02827/4.724, allocations: 22.51 MB / 1.466 GB, free: 31.49 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007553/4.732, allocations: 0.8583 MB / 1.467 GB, free: 30.68 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002619/4.735, allocations: 356.9 kB / 1.467 GB, free: 30.36 MB / 458.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (552): * Single equations (assignments): 407 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.004539/4.739, allocations: 498.5 kB / 1.468 GB, free: 29.93 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00321/4.743, allocations: 0.5655 MB / 1.468 GB, free: 29.36 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04399/4.787, allocations: 23.87 MB / 1.491 GB, free: 8.891 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4578/5.244, allocations: 23.04 MB / 1.514 GB, free: 57.66 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.39e-05/5.244, allocations: 4.375 kB / 1.514 GB, free: 57.66 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001244/5.245, allocations: 37.7 kB / 1.514 GB, free: 57.66 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09504/5.34, allocations: 44.86 MB / 1.558 GB, free: 56.48 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001372/5.34, allocations: 3.438 kB / 1.558 GB, free: 56.48 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002961/5.343, allocations: 0.5862 MB / 1.558 GB, free: 56.48 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02138/5.364, allocations: 10.69 MB / 1.569 GB, free: 56.2 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002858/5.367, allocations: 228.7 kB / 1.569 GB, free: 56.2 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03487/5.402, allocations: 22.42 MB / 1.591 GB, free: 50.75 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/5.402, allocations: 3.656 kB / 1.591 GB, free: 50.75 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06762/5.47, allocations: 34.07 MB / 1.624 GB, free: 35.63 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007898/5.478, allocations: 2.434 MB / 1.627 GB, free: 34.37 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003501/5.481, allocations: 137.4 kB / 1.627 GB, free: 34.27 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00558/5.487, allocations: 251.9 kB / 1.627 GB, free: 34.18 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0034/5.49, allocations: 0.8875 MB / 1.628 GB, free: 33.66 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002045/5.492, allocations: 272 kB / 1.628 GB, free: 33.42 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.004414/5.497, allocations: 2.279 MB / 1.63 GB, free: 31.42 MB / 458.9 MB Notification: Performance of sort global known variables: time 3.5e-07/5.497, allocations: 0 / 1.63 GB, free: 31.42 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01345/5.51, allocations: 3.744 MB / 1.634 GB, free: 27.66 MB / 458.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (source.voltageSource[1].pin_p.reference.gamma,source.voltageSource[3].pin_p.reference.gamma,source.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (368): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002607/5.513, allocations: 354.7 kB / 1.634 GB, free: 27.39 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.03506/5.548, allocations: 18.53 MB / 1.652 GB, free: 11.11 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/5.548, allocations: 0 / 1.652 GB, free: 11.11 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.01924/5.567, allocations: 9.818 MB / 1.662 GB, free: 2.547 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01072/5.578, allocations: 1.32 MB / 1.663 GB, free: 1.559 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4716/6.05, allocations: 31.39 MB / 1.694 GB, free: 66.61 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02275/6.072, allocations: 11.58 MB / 1.705 GB, free: 65.51 MB / 474.9 MB Notification: Performance of simCode: alias equations: time 0.0039/6.076, allocations: 1.214 MB / 1.706 GB, free: 65.46 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007826/6.077, allocations: 245.2 kB / 1.707 GB, free: 65.46 MB / 474.9 MB Notification: Performance of SimCode: time 1.553e-06/6.077, allocations: 7 kB / 1.707 GB, free: 65.46 MB / 474.9 MB Notification: Performance of Templates: time 0.5641/6.641, allocations: 190.5 MB / 1.893 GB, free: 81.82 MB / 490.9 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)