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.01199/0.01199, allocations: 165.6 kB / 15.11 MB, free: 6.039 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.326/1.326, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001665/0.001665, allocations: 109.7 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003835, allocations: 12 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2226, allocations: 38.76 MB / 312.9 MB, free: 38.75 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3259, allocations: 85.19 MB / 398.1 MB, free: 5.301 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.3262, allocations: 87.95 kB / 398.2 MB, free: 5.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.018/3.344, allocations: 0.778 GB / 1.167 GB, free: 32.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.951e-06/3.344, allocations: 3.328 kB / 1.167 GB, free: 32.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001173/3.345, allocations: 386.3 kB / 1.167 GB, free: 32.08 MB / 426.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.07275/3.418, allocations: 15.7 MB / 1.183 GB, free: 27.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/3.418, allocations: 7.094 kB / 1.183 GB, free: 27.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/3.433, allocations: 2.081 MB / 1.185 GB, free: 26.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03794/3.471, allocations: 10.58 MB / 1.195 GB, free: 25.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003419/3.475, allocations: 1.27 MB / 1.196 GB, free: 25.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01049/3.485, allocations: 1.62 MB / 1.198 GB, free: 25.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1072/3.593, allocations: 27.86 MB / 1.225 GB, free: 23.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001509/3.594, allocations: 25.75 kB / 1.225 GB, free: 23.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01096/3.605, allocations: 0.7011 MB / 1.226 GB, free: 23.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001833/3.607, allocations: 0.7415 MB / 1.226 GB, free: 23.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0628/3.67, allocations: 20.54 MB / 1.246 GB, free: 19.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6272/4.297, allocations: 86.46 MB / 1.331 GB, free: 26.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02014/4.317, allocations: 13.9 MB / 1.344 GB, free: 24.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/4.318, allocations: 243.1 kB / 1.345 GB, free: 24.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.948e-05/4.318, allocations: 120.1 kB / 1.345 GB, free: 24.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1122): time 1.282e-05/4.318, allocations: 0 / 1.345 GB, free: 24.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=1122): time 0.2366/4.555, allocations: 84.57 MB / 1.427 GB, free: 22.42 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/4.555, allocations: 213.4 kB / 1.428 GB, free: 22.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006534/4.562, allocations: 2.973 MB / 1.43 GB, free: 22.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002889/4.565, allocations: 151.6 kB / 1.431 GB, free: 22.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004541/4.569, allocations: 5.576 MB / 1.436 GB, free: 19.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00667/4.576, allocations: 3.655 MB / 1.44 GB, free: 16.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002489/4.579, allocations: 156 kB / 1.44 GB, free: 16.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001292/4.58, allocations: 0.736 MB / 1.44 GB, free: 16.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01166/4.592, allocations: 7.725 MB / 1.448 GB, free: 12.76 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01445/4.606, allocations: 9.243 MB / 1.457 GB, free: 7.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01844/4.625, allocations: 9.265 MB / 1.466 GB, free: 1.539 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.829e-05/4.625, allocations: 12 kB / 1.466 GB, free: 1.527 MB / 458.7 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.3587/4.983, allocations: 25.18 MB / 1.491 GB, free: 55.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/4.983, allocations: 20.41 kB / 1.491 GB, free: 55.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001666/4.984, allocations: 34.53 kB / 1.491 GB, free: 55.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02301/5.007, allocations: 11.01 MB / 1.501 GB, free: 54.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004113/5.011, allocations: 0.9042 MB / 1.502 GB, free: 54.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03003/5.041, allocations: 22.84 MB / 1.525 GB, free: 50.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007963/5.049, allocations: 0.8493 MB / 1.526 GB, free: 50.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002702/5.052, allocations: 360.5 kB / 1.526 GB, free: 50.28 MB / 458.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 395 * 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 302,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0171/5.069, allocations: 6.764 MB / 1.532 GB, free: 50.17 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003409/5.072, allocations: 0.5595 MB / 1.533 GB, free: 49.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04458/5.117, allocations: 24.04 MB / 1.556 GB, free: 47.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04247/5.159, allocations: 21.47 MB / 1.577 GB, free: 38.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.09e-05/5.159, allocations: 2.312 kB / 1.577 GB, free: 38.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001332/5.16, allocations: 35.16 kB / 1.577 GB, free: 38.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09521/5.255, allocations: 44.92 MB / 1.621 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001443/5.255, allocations: 3.953 kB / 1.621 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/5.258, allocations: 0.5653 MB / 1.622 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01923/5.277, allocations: 11 MB / 1.633 GB, free: 1.836 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002453/5.279, allocations: 224.8 kB / 1.633 GB, free: 1.648 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.47/5.749, allocations: 22.91 MB / 1.655 GB, free: 68.33 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/5.75, allocations: 3.562 kB / 1.655 GB, free: 68.33 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05976/5.809, allocations: 34.3 MB / 1.689 GB, free: 67.24 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00738/5.817, allocations: 2.437 MB / 1.691 GB, free: 66.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00325/5.82, allocations: 130.7 kB / 1.691 GB, free: 66.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005035/5.825, allocations: 258.9 kB / 1.691 GB, free: 66.83 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003392/5.828, allocations: 0.8805 MB / 1.692 GB, free: 66.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002645/5.831, allocations: 274.2 kB / 1.693 GB, free: 66.82 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006176/5.837, allocations: 2.309 MB / 1.695 GB, free: 66.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.42e-07/5.837, allocations: 0 / 1.695 GB, free: 66.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01924/5.857, allocations: 3.742 MB / 1.699 GB, free: 65.95 MB / 474.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (356): * Single equations (assignments): 211 * 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 302,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003385/5.86, allocations: 345.2 kB / 1.699 GB, free: 65.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03401/5.894, allocations: 18.67 MB / 1.717 GB, free: 63.72 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/5.894, allocations: 3.406 kB / 1.717 GB, free: 63.72 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02142/5.916, allocations: 9.9 MB / 1.727 GB, free: 59.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009044/5.925, allocations: 1.311 MB / 1.728 GB, free: 59.56 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08946/6.014, allocations: 40.59 MB / 1.768 GB, free: 38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02766/6.042, allocations: 11.57 MB / 1.779 GB, free: 29.13 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005225/6.047, allocations: 1.195 MB / 1.78 GB, free: 28.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/6.049, allocations: 242.1 kB / 1.78 GB, free: 28.06 MB / 474.7 MB Notification: Performance of SimCode: time 1.664e-06/6.049, allocations: 2.406 kB / 1.78 GB, free: 28.06 MB / 474.7 MB Notification: Performance of Templates: time 1.042/7.091, allocations: 209.9 MB / 1.985 GB, free: 64.2 MB / 490.7 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)