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.0009717/0.0009718, allocations: 180.9 kB / 16.38 MB, free: 5.762 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.171/1.171, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001568/0.001567, allocations: 116.1 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.000277, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0757/0.07599, allocations: 44.5 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/0.2931, allocations: 87.86 MB / 442.9 MB, free: 1.809 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001725/0.2933, allocations: 88.7 kB / 443 MB, free: 1.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1742/0.4675, allocations: 74.68 MB / 0.5056 GB, free: 9.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4676, allocations: 0 / 0.5056 GB, free: 9.199 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002051/0.4678, allocations: 87.81 kB / 0.5056 GB, free: 9.113 MB / 394.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.007299/0.4751, allocations: 3.195 MB / 0.5088 GB, free: 5.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4751, allocations: 12.03 kB / 0.5088 GB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.4764, allocations: 396 kB / 0.5092 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004983/0.4814, allocations: 2.193 MB / 0.5113 GB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.4816, allocations: 217.8 kB / 0.5115 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005111/0.4822, allocations: 288 kB / 0.5118 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1635/0.6457, allocations: 4.128 MB / 0.5158 GB, free: 75.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.827e-05/0.6458, allocations: 0.6875 kB / 0.5158 GB, free: 75.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003255/0.6461, allocations: 129.6 kB / 0.5159 GB, free: 75.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.6462, allocations: 135.6 kB / 0.5161 GB, free: 75.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004786/0.651, allocations: 3.211 MB / 0.5192 GB, free: 75.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01431/0.6654, allocations: 11.01 MB / 0.5299 GB, free: 74.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/0.6679, allocations: 2.635 MB / 0.5325 GB, free: 73.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.6682, allocations: 145.6 kB / 0.5327 GB, free: 73.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.6682, allocations: 44.38 kB / 0.5327 GB, free: 73.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=128): time 3.447e-06/0.6682, allocations: 0 / 0.5327 GB, free: 73.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.00881/0.677, allocations: 5.664 MB / 0.5382 GB, free: 71.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.6771, allocations: 90.92 kB / 0.5383 GB, free: 71.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.6796, allocations: 1.715 MB / 0.54 GB, free: 71.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.6798, allocations: 49.55 kB / 0.54 GB, free: 71.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007727/0.6805, allocations: 1.318 MB / 0.5413 GB, free: 71.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.6809, allocations: 449.1 kB / 0.5418 GB, free: 70.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.6809, allocations: 31.47 kB / 0.5418 GB, free: 70.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6811, allocations: 370.6 kB / 0.5421 GB, free: 70.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.6823, allocations: 0.824 MB / 0.5429 GB, free: 70.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.6838, allocations: 1.175 MB / 0.5441 GB, free: 70.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.6851, allocations: 1.021 MB / 0.5451 GB, free: 70.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.6851, allocations: 3.312 kB / 0.5451 GB, free: 70.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003821/0.6889, allocations: 2.546 MB / 0.5476 GB, free: 69.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.689, allocations: 13.28 kB / 0.5476 GB, free: 69.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.689, allocations: 11.47 kB / 0.5476 GB, free: 69.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000943/0.69, allocations: 378.6 kB / 0.548 GB, free: 69.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.6912, allocations: 324.9 kB / 0.5483 GB, free: 69.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003999/0.6952, allocations: 4.355 MB / 0.5525 GB, free: 67.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.6965, allocations: 88.44 kB / 0.5526 GB, free: 67.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.6967, allocations: 62 kB / 0.5527 GB, free: 67.43 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001599/0.6983, allocations: 1.051 MB / 0.5537 GB, free: 66.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/0.6987, allocations: 194.7 kB / 0.5539 GB, free: 66.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/0.7016, allocations: 2.206 MB / 0.556 GB, free: 65.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.7016, allocations: 11 kB / 0.556 GB, free: 65.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.7016, allocations: 3.844 kB / 0.5561 GB, free: 65.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.7016, allocations: 8.297 kB / 0.5561 GB, free: 65.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007239/0.7089, allocations: 5.175 MB / 0.5611 GB, free: 63.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.7089, allocations: 3.609 kB / 0.5611 GB, free: 63.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/0.7098, allocations: 224.5 kB / 0.5613 GB, free: 63.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007843/0.7106, allocations: 364.9 kB / 0.5617 GB, free: 63.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.626e-05/0.7107, allocations: 34.73 kB / 0.5617 GB, free: 63.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003845/0.7146, allocations: 4.281 MB / 0.5659 GB, free: 61.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7146, allocations: 3.656 kB / 0.5659 GB, free: 61.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/0.7185, allocations: 3.305 MB / 0.5691 GB, free: 59.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009733/0.7195, allocations: 478.2 kB / 0.5696 GB, free: 59.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.7197, allocations: 25.94 kB / 0.5696 GB, free: 59.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009602/0.7207, allocations: 109.4 kB / 0.5697 GB, free: 59.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.7208, allocations: 87.52 kB / 0.5698 GB, free: 59.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/0.7209, allocations: 41.14 kB / 0.5698 GB, free: 59.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001511/0.7224, allocations: 1.328 MB / 0.5711 GB, free: 58.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7224, allocations: 2.078 kB / 0.5711 GB, free: 58.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001509/0.724, allocations: 0.5738 MB / 0.5717 GB, free: 58.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (98): * Single equations (assignments): 93 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003295/0.7243, allocations: 207.9 kB / 0.5719 GB, free: 58.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002745/0.7271, allocations: 2.345 MB / 0.5742 GB, free: 57.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.7271, allocations: 0 / 0.5742 GB, free: 57.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.7286, allocations: 1.327 MB / 0.5755 GB, free: 57.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.7303, allocations: 481.2 kB / 0.5759 GB, free: 56.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007362/0.7376, allocations: 6.734 MB / 0.5825 GB, free: 53.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.7394, allocations: 2.477 MB / 0.5849 GB, free: 52.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001464/0.7408, allocations: 475.7 kB / 0.5854 GB, free: 52.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.7412, allocations: 133.4 kB / 0.5855 GB, free: 52.33 MB / 394.7 MB Notification: Performance of SimCode: time 1.502e-06/0.7412, allocations: 0 / 0.5855 GB, free: 52.33 MB / 394.7 MB Notification: Performance of Templates: time 0.04045/0.7817, allocations: 29.01 MB / 0.6138 GB, free: 42.03 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)