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.001594/0.001594, allocations: 156.7 kB / 7.632 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.229/1.229, allocations: 170.7 MB / 178.7 MB, free: 7.035 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.001609/0.001609, allocations: 101.2 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.475e-05/1.478e-05, allocations: 4 kB / 262.2 MB, free: 3.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2218, allocations: 38.76 MB / 301 MB, free: 39.13 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09738/0.3192, allocations: 81.75 MB / 382.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.3195, allocations: 83.95 kB / 382.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3489/0.6684, allocations: 74.22 MB / 457 MB, free: 74.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6685, allocations: 0 / 457 MB, free: 74.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001725/0.6686, allocations: 88.34 kB / 457.1 MB, free: 74.41 MB / 330.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.005336/0.674, allocations: 2.853 MB / 460 MB, free: 73.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.674, allocations: 13.06 kB / 460 MB, free: 73.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.6751, allocations: 395.9 kB / 460.4 MB, free: 73.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002966/0.678, allocations: 1.98 MB / 462.4 MB, free: 72.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/0.6781, allocations: 99.41 kB / 462.5 MB, free: 72.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003331/0.6785, allocations: 169.6 kB / 462.6 MB, free: 72.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00436/0.6829, allocations: 2.946 MB / 465.6 MB, free: 71.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004815/0.6877, allocations: 3.632 MB / 469.2 MB, free: 69.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.235e-05/0.6878, allocations: 0 / 469.2 MB, free: 69.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/0.688, allocations: 3.906 kB / 469.2 MB, free: 69.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.6881, allocations: 147.4 kB / 469.3 MB, free: 69.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01391/0.702, allocations: 10.31 MB / 479.7 MB, free: 64.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.7041, allocations: 2.53 MB / 482.2 MB, free: 62.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/0.7056, allocations: 1.34 MB / 483.5 MB, free: 62.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002916/0.7059, allocations: 141.4 kB / 483.7 MB, free: 62.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.706, allocations: 53 kB / 483.7 MB, free: 62.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 3.887e-06/0.706, allocations: 0 / 483.7 MB, free: 62.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=133): time 0.006256/0.7123, allocations: 4.192 MB / 487.9 MB, free: 59.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.7123, allocations: 93.94 kB / 488 MB, free: 59.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.7138, allocations: 1.318 MB / 489.3 MB, free: 57.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.932e-05/0.7139, allocations: 25.7 kB / 489.3 MB, free: 57.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004862/0.7144, allocations: 1.306 MB / 490.6 MB, free: 56.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.7146, allocations: 439.1 kB / 491.1 MB, free: 56.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.7147, allocations: 4 kB / 491.1 MB, free: 56.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.7148, allocations: 368.7 kB / 491.4 MB, free: 56.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/0.7156, allocations: 0.7528 MB / 492.2 MB, free: 55.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009204/0.7165, allocations: 1.095 MB / 493.3 MB, free: 54.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.7175, allocations: 0.9586 MB / 494.2 MB, free: 53.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.7175, allocations: 4 kB / 494.2 MB, free: 53.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.002783/0.7203, allocations: 2.289 MB / 496.5 MB, free: 51.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.7204, allocations: 12 kB / 496.6 MB, free: 51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.7204, allocations: 12 kB / 496.6 MB, free: 50.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007659/0.7212, allocations: 347.3 kB / 496.9 MB, free: 50.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.7224, allocations: 343.5 kB / 497.2 MB, free: 50.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/0.7261, allocations: 3.901 MB / 0.4894 GB, free: 46.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.7271, allocations: 59.83 kB / 0.4894 GB, free: 46.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.7272, allocations: 63.28 kB / 0.4895 GB, free: 46.18 MB / 330.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.0002117/0.7275, allocations: 132.6 kB / 0.4896 GB, free: 46.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.7277, allocations: 181.9 kB / 0.4898 GB, free: 45.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.7305, allocations: 1.987 MB / 0.4918 GB, free: 43.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.7305, allocations: 15.95 kB / 0.4918 GB, free: 43.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7305, allocations: 7 kB / 0.4918 GB, free: 43.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.7305, allocations: 7.969 kB / 0.4918 GB, free: 43.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006327/0.7368, allocations: 4.593 MB / 0.4963 GB, free: 39.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/0.7369, allocations: 7.5 kB / 0.4963 GB, free: 39.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/0.7379, allocations: 231.6 kB / 0.4965 GB, free: 38.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007718/0.7386, allocations: 328.6 kB / 0.4968 GB, free: 38.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.292e-05/0.7387, allocations: 19.98 kB / 0.4968 GB, free: 38.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003548/0.7423, allocations: 3.819 MB / 0.5006 GB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7423, allocations: 3.938 kB / 0.5006 GB, free: 34.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/0.7459, allocations: 3.124 MB / 0.5036 GB, free: 31.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008399/0.7467, allocations: 434.9 kB / 0.504 GB, free: 31.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.7469, allocations: 4 kB / 0.504 GB, free: 31.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/0.7478, allocations: 83.95 kB / 0.5041 GB, free: 30.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.748, allocations: 93.11 kB / 0.5042 GB, free: 30.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/0.7481, allocations: 43.98 kB / 0.5042 GB, free: 30.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001183/0.7493, allocations: 1.009 MB / 0.5052 GB, free: 29.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7493, allocations: 0 / 0.5052 GB, free: 29.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001541/0.7508, allocations: 499.9 kB / 0.5057 GB, free: 29.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (103): * Single equations (assignments): 98 * 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.0003381/0.7512, allocations: 193.2 kB / 0.5059 GB, free: 29.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002414/0.7536, allocations: 2.154 MB / 0.508 GB, free: 26.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.7536, allocations: 4 kB / 0.508 GB, free: 26.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.755, allocations: 1.24 MB / 0.5092 GB, free: 25.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.7566, allocations: 350.5 kB / 0.5095 GB, free: 25.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006277/0.7629, allocations: 4.396 MB / 0.5138 GB, free: 20.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.7645, allocations: 2.472 MB / 0.5162 GB, free: 18.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001212/0.7657, allocations: 448.6 kB / 0.5167 GB, free: 17.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.766, allocations: 107.4 kB / 0.5168 GB, free: 17.88 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.766, allocations: 0 / 0.5168 GB, free: 17.88 MB / 330.7 MB Notification: Performance of Templates: time 0.03118/0.7972, allocations: 21.45 MB / 0.5377 GB, free: 12.55 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)