Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001701/0.001701, allocations: 169.9 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.426/1.426, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001598/0.001598, allocations: 107.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.263e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06997/0.07001, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2612/0.3313, allocations: 82.41 MB / 390 MB, free: 9.973 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.3316, allocations: 84.83 kB / 390.1 MB, free: 9.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2683/0.6, allocations: 75.11 MB / 465.2 MB, free: 4.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6, allocations: 0 / 465.2 MB, free: 4.277 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003605/0.6004, allocations: 87.88 kB / 465.3 MB, free: 4.191 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.008491/0.6089, allocations: 2.853 MB / 468.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.609, allocations: 8.031 kB / 468.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.6106, allocations: 399.7 kB / 468.6 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1798/0.7904, allocations: 1.976 MB / 470.5 MB, free: 64.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.7908, allocations: 221.5 kB / 470.8 MB, free: 64.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008713/0.7916, allocations: 283.2 kB / 471 MB, free: 64.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009391/0.801, allocations: 4.065 MB / 475.1 MB, free: 63.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.777e-05/0.8011, allocations: 1.031 kB / 475.1 MB, free: 63.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003504/0.8015, allocations: 126.5 kB / 475.2 MB, free: 63.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000255/0.8018, allocations: 139.7 kB / 475.4 MB, free: 63.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006697/0.8085, allocations: 3.114 MB / 478.5 MB, free: 63.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/0.828, allocations: 10.92 MB / 489.4 MB, free: 62.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.8306, allocations: 2.592 MB / 492 MB, free: 61.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.8326, allocations: 1.455 MB / 493.4 MB, free: 61.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.8329, allocations: 140.7 kB / 493.6 MB, free: 61.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.8329, allocations: 47.41 kB / 493.6 MB, free: 61.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 4.278e-06/0.833, allocations: 0 / 493.6 MB, free: 61.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.006857/0.8398, allocations: 4.372 MB / 498 MB, free: 60.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.8399, allocations: 93.3 kB / 498.1 MB, free: 60.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.842, allocations: 1.589 MB / 499.7 MB, free: 60.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.8421, allocations: 49.3 kB / 499.7 MB, free: 59.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006308/0.8428, allocations: 1.307 MB / 0.4893 GB, free: 59.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.8431, allocations: 460.4 kB / 0.4897 GB, free: 59.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.8431, allocations: 27.72 kB / 0.4898 GB, free: 59.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.8432, allocations: 367.1 kB / 0.4901 GB, free: 58.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009584/0.8442, allocations: 0.785 MB / 0.4909 GB, free: 58.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.8453, allocations: 1.127 MB / 0.492 GB, free: 57.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.8464, allocations: 0.9806 MB / 0.4929 GB, free: 57.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.8464, allocations: 3.375 kB / 0.4929 GB, free: 57.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003478/0.8499, allocations: 2.447 MB / 0.4953 GB, free: 56.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.8499, allocations: 7.281 kB / 0.4953 GB, free: 56.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.85, allocations: 12.78 kB / 0.4953 GB, free: 56.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008971/0.8509, allocations: 358.7 kB / 0.4957 GB, free: 56.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.8521, allocations: 338 kB / 0.496 GB, free: 56.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004224/0.8564, allocations: 4.055 MB / 0.5 GB, free: 53.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.8579, allocations: 83.31 kB / 0.5001 GB, free: 53.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.8581, allocations: 65.2 kB / 0.5001 GB, free: 53.95 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002558/0.8583, allocations: 191 kB / 0.5003 GB, free: 53.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003779/0.8587, allocations: 189.9 kB / 0.5005 GB, free: 53.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/0.8621, allocations: 2.111 MB / 0.5025 GB, free: 52.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.8621, allocations: 15.03 kB / 0.5026 GB, free: 52.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.8621, allocations: 3.719 kB / 0.5026 GB, free: 52.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.8621, allocations: 11.19 kB / 0.5026 GB, free: 52.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008114/0.8703, allocations: 5.111 MB / 0.5076 GB, free: 50.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.8703, allocations: 10.52 kB / 0.5076 GB, free: 50.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009325/0.8712, allocations: 240 kB / 0.5078 GB, free: 50.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007918/0.872, allocations: 334.9 kB / 0.5081 GB, free: 50.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.8722, allocations: 30.91 kB / 0.5081 GB, free: 50.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/0.8761, allocations: 3.959 MB / 0.512 GB, free: 48.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.8761, allocations: 6.25 kB / 0.512 GB, free: 48.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/0.8802, allocations: 3.283 MB / 0.5152 GB, free: 46.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.8812, allocations: 456.8 kB / 0.5157 GB, free: 46.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.8814, allocations: 29.39 kB / 0.5157 GB, free: 46.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009154/0.8824, allocations: 106.3 kB / 0.5158 GB, free: 46.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.8826, allocations: 99.17 kB / 0.5159 GB, free: 46.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-05/0.8827, allocations: 41.78 kB / 0.5159 GB, free: 46.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001558/0.8842, allocations: 1.23 MB / 0.5171 GB, free: 45.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8842, allocations: 0 / 0.5171 GB, free: 45.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001656/0.8859, allocations: 0.5541 MB / 0.5177 GB, free: 45.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003962/0.8863, allocations: 210.9 kB / 0.5179 GB, free: 45.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002888/0.8892, allocations: 2.229 MB / 0.52 GB, free: 44.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8892, allocations: 0 / 0.52 GB, free: 44.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.8908, allocations: 1.294 MB / 0.5213 GB, free: 44.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.893, allocations: 471.3 kB / 0.5218 GB, free: 44.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007592/0.9006, allocations: 4.506 MB / 0.5262 GB, free: 42.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/0.9024, allocations: 2.466 MB / 0.5286 GB, free: 41.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001459/0.9039, allocations: 470.3 kB / 0.529 GB, free: 41.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.9043, allocations: 126.2 kB / 0.5291 GB, free: 41.19 MB / 346.7 MB Notification: Performance of SimCode: time 9.91e-07/0.9043, allocations: 0 / 0.5291 GB, free: 41.19 MB / 346.7 MB Notification: Performance of Templates: time 0.04406/0.9483, allocations: 27.56 MB / 0.556 GB, free: 24.18 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)