Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00151/0.00151, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.599/1.599, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001661/0.001661, allocations: 120.8 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.568e-05/2.573e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07686/0.07689, allocations: 44.51 MB / 349.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2879/0.3648, allocations: 87.77 MB / 437.2 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.3651, allocations: 89.66 kB / 437.3 MB, free: 7.066 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1833/0.5484, allocations: 74.93 MB / 0.5002 GB, free: 3.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5484, allocations: 0 / 0.5002 GB, free: 3.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002158/0.5487, allocations: 91.81 kB / 0.5003 GB, free: 3.422 MB / 362.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.005854/0.5545, allocations: 2.865 MB / 0.5031 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5546, allocations: 15.97 kB / 0.5031 GB, free: 492 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.5557, allocations: 400 kB / 0.5035 GB, free: 88 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004385/0.5601, allocations: 2.158 MB / 0.5056 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.5603, allocations: 221.8 kB / 0.5058 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004904/0.5608, allocations: 292 kB / 0.5061 GB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00681/0.5676, allocations: 4.063 MB / 0.5101 GB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/0.5677, allocations: 4 kB / 0.5101 GB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002968/0.568, allocations: 124 kB / 0.5102 GB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.5681, allocations: 137.9 kB / 0.5103 GB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005241/0.5734, allocations: 3.112 MB / 0.5134 GB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/0.5914, allocations: 11.02 MB / 0.5241 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/0.5941, allocations: 2.584 MB / 0.5267 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/0.5964, allocations: 1.445 MB / 0.5281 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/0.5968, allocations: 150 kB / 0.5282 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.5968, allocations: 47.56 kB / 0.5283 GB, free: 6.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=128): time 3.968e-06/0.5968, allocations: 0 / 0.5283 GB, free: 6.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.007622/0.6045, allocations: 4.378 MB / 0.5325 GB, free: 1.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.6046, allocations: 94.42 kB / 0.5326 GB, free: 1.523 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1839/0.7885, allocations: 1.69 MB / 0.5343 GB, free: 78.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003512/0.7889, allocations: 48.08 kB / 0.5343 GB, free: 78.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.7899, allocations: 1.321 MB / 0.5356 GB, free: 78.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.7903, allocations: 457.2 kB / 0.5361 GB, free: 78.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-05/0.7904, allocations: 30.5 kB / 0.5361 GB, free: 78.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.7905, allocations: 363.4 kB / 0.5364 GB, free: 78.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.7916, allocations: 0.7781 MB / 0.5372 GB, free: 78.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.7928, allocations: 1.133 MB / 0.5383 GB, free: 77.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.7939, allocations: 0.9789 MB / 0.5393 GB, free: 77.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.7939, allocations: 3.688 kB / 0.5393 GB, free: 77.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003502/0.7974, allocations: 2.442 MB / 0.5416 GB, free: 77.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.7975, allocations: 9.531 kB / 0.5417 GB, free: 77.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/0.7975, allocations: 18.11 kB / 0.5417 GB, free: 77.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008518/0.7983, allocations: 368.4 kB / 0.542 GB, free: 77.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.7995, allocations: 331.7 kB / 0.5423 GB, free: 77.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00414/0.8037, allocations: 4.042 MB / 0.5463 GB, free: 76.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.8051, allocations: 89.45 kB / 0.5464 GB, free: 76.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.8052, allocations: 62.03 kB / 0.5464 GB, free: 76.09 MB / 394.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.000254/0.8055, allocations: 187.7 kB / 0.5466 GB, free: 75.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.8059, allocations: 191.5 kB / 0.5468 GB, free: 75.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.8091, allocations: 2.112 MB / 0.5489 GB, free: 75.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.8091, allocations: 13.34 kB / 0.5489 GB, free: 75.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8091, allocations: 4.062 kB / 0.5489 GB, free: 75.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.8091, allocations: 3.656 kB / 0.5489 GB, free: 75.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008143/0.8173, allocations: 5.168 MB / 0.5539 GB, free: 75.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/0.8173, allocations: 7.859 kB / 0.5539 GB, free: 75.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.8183, allocations: 239.9 kB / 0.5542 GB, free: 75.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008871/0.8192, allocations: 342.1 kB / 0.5545 GB, free: 75.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.213e-05/0.8193, allocations: 32.34 kB / 0.5545 GB, free: 75.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/0.8234, allocations: 3.957 MB / 0.5584 GB, free: 73.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.8234, allocations: 4.609 kB / 0.5584 GB, free: 73.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003907/0.8273, allocations: 3.275 MB / 0.5616 GB, free: 73.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008797/0.8282, allocations: 466.1 kB / 0.562 GB, free: 73.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.8285, allocations: 30.97 kB / 0.5621 GB, free: 73.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009664/0.8294, allocations: 105.5 kB / 0.5622 GB, free: 73.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.8296, allocations: 94.92 kB / 0.5622 GB, free: 73.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/0.8297, allocations: 41.59 kB / 0.5623 GB, free: 73.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001584/0.8313, allocations: 1.314 MB / 0.5636 GB, free: 73.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8313, allocations: 3.688 kB / 0.5636 GB, free: 73.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001586/0.8329, allocations: 0.5713 MB / 0.5641 GB, free: 73.09 MB / 394.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.0003813/0.8333, allocations: 216.6 kB / 0.5643 GB, free: 73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.836, allocations: 2.234 MB / 0.5665 GB, free: 72.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8361, allocations: 0 / 0.5665 GB, free: 72.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.8377, allocations: 1.286 MB / 0.5678 GB, free: 72.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.8397, allocations: 488.9 kB / 0.5682 GB, free: 72.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00694/0.8467, allocations: 4.64 MB / 0.5728 GB, free: 70.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.8483, allocations: 2.484 MB / 0.5752 GB, free: 69.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001432/0.8497, allocations: 488.3 kB / 0.5757 GB, free: 69.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.85, allocations: 124.9 kB / 0.5758 GB, free: 69.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8501, allocations: 0 / 0.5758 GB, free: 69.88 MB / 394.7 MB Notification: Performance of Templates: time 0.03965/0.8897, allocations: 29.1 MB / 0.6042 GB, free: 68.4 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)