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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01348/0.01348, allocations: 98.97 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002453/0.002453, allocations: 200.8 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 53.2 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1296, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01124/0.1408, allocations: 7.705 MB / 380.9 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008138/0.149, allocations: 2.742 MB / 383.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.1512, allocations: 63.69 kB / 383.7 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.153, allocations: 0.5625 MB / 384.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.1558, allocations: 0.7263 MB / 385 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.157, allocations: 443.4 kB / 385.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005071/0.1621, allocations: 3.409 MB / 388.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005002/0.1671, allocations: 3.43 MB / 392.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004088/0.1712, allocations: 1.656 MB / 393.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005505/0.1767, allocations: 2.016 MB / 395.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.1779, allocations: 460 kB / 396.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.18, allocations: 0.6753 MB / 397 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.1814, allocations: 1.239 MB / 398.3 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003594/0.185, allocations: 1.968 MB / 400.3 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00986/0.1949, allocations: 6.108 MB / 406.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.195, allocations: 0 / 406.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.195, allocations: 0 / 406.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002235/0.1952, allocations: 4 kB / 406.4 MB, free: 15.95 MB / 350.1 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.01072/0.2059, allocations: 3.865 MB / 410.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.575e-05/0.206, allocations: 12.03 kB / 410.2 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.2073, allocations: 406.6 kB / 410.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003739/0.2111, allocations: 1.973 MB / 412.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.2113, allocations: 229.8 kB / 412.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004389/0.2117, allocations: 284 kB / 413.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008094/0.2198, allocations: 4.183 MB / 417.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.164e-05/0.2199, allocations: 0 / 417.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/0.2202, allocations: 124 kB / 417.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.2204, allocations: 141.9 kB / 417.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006902/0.2273, allocations: 3.482 MB / 421 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/0.2493, allocations: 10.82 MB / 431.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/0.2526, allocations: 2.642 MB / 434.5 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002473/0.2551, allocations: 1.501 MB / 436 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/0.2554, allocations: 118.1 kB / 436.1 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.976e-05/0.2554, allocations: 51.56 kB / 436.2 MB, free: 1.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.248e-06/0.2555, allocations: 0 / 436.2 MB, free: 1.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.01029/0.2657, allocations: 5.326 MB / 441.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.2659, allocations: 94.41 kB / 441.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.2693, allocations: 1.91 MB / 443.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.2694, allocations: 49.7 kB / 443.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.2705, allocations: 1.349 MB / 444.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.2709, allocations: 483.9 kB / 445.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005343/0.2715, allocations: 275.5 kB / 445.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2717, allocations: 309 kB / 445.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.2732, allocations: 0.8159 MB / 446.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.275, allocations: 1.187 MB / 447.9 MB, free: 5.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.2782, allocations: 2.091 MB / 450 MB, free: 3.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.2782, allocations: 0 / 450 MB, free: 3.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004518/0.2828, allocations: 2.543 MB / 452.6 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.2828, allocations: 11.91 kB / 452.6 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.2828, allocations: 12 kB / 452.6 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.2844, allocations: 426.5 kB / 453 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3423/0.6266, allocations: 326.2 kB / 453.3 MB, free: 68.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007168/0.6338, allocations: 4.413 MB / 457.7 MB, free: 66.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.6358, allocations: 85.17 kB / 457.8 MB, free: 66.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003499/0.6361, allocations: 61.95 kB / 457.9 MB, free: 66.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0027/0.6389, allocations: 1.053 MB / 458.9 MB, free: 65.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000805/0.6397, allocations: 203.2 kB / 459.1 MB, free: 65.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00493/0.6446, allocations: 2.142 MB / 461.3 MB, free: 64.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/0.6447, allocations: 18.33 kB / 461.3 MB, free: 64.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.513e-05/0.6447, allocations: 4.594 kB / 461.3 MB, free: 64.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.6447, allocations: 5.625 kB / 461.3 MB, free: 64.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.655, allocations: 5.179 MB / 466.5 MB, free: 62.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.655, allocations: 2.75 kB / 466.5 MB, free: 62.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009679/0.656, allocations: 223.3 kB / 466.7 MB, free: 62.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.6573, allocations: 407 kB / 467.1 MB, free: 62.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.6574, allocations: 33.42 kB / 467.1 MB, free: 62.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004505/0.6619, allocations: 4.294 MB / 471.4 MB, free: 59.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.662, allocations: 2.938 kB / 471.4 MB, free: 59.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/0.6662, allocations: 3.265 MB / 474.7 MB, free: 58.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008354/0.6671, allocations: 463.9 kB / 475.2 MB, free: 58.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.6673, allocations: 34.58 kB / 475.2 MB, free: 58.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009511/0.6683, allocations: 96.17 kB / 475.3 MB, free: 58.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.6685, allocations: 92.88 kB / 475.4 MB, free: 58.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-05/0.6685, allocations: 40.77 kB / 475.4 MB, free: 58.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001637/0.6702, allocations: 1.34 MB / 476.8 MB, free: 57.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6702, allocations: 0 / 476.8 MB, free: 57.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001687/0.6719, allocations: 0.5585 MB / 477.3 MB, free: 57.32 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004938/0.6724, allocations: 215.1 kB / 477.5 MB, free: 57.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002847/0.6753, allocations: 2.201 MB / 479.7 MB, free: 56.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.6753, allocations: 1.938 kB / 479.7 MB, free: 56.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.6768, allocations: 1.224 MB / 480.9 MB, free: 54.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.6787, allocations: 0.5134 MB / 481.5 MB, free: 54.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/0.6866, allocations: 5.785 MB / 487.2 MB, free: 48.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.6883, allocations: 2.425 MB / 489.7 MB, free: 46.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001383/0.6896, allocations: 499.4 kB / 490.2 MB, free: 45.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/0.69, allocations: 135.4 kB / 490.3 MB, free: 45.55 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.69, allocations: 4 kB / 490.3 MB, free: 45.55 MB / 382.1 MB Notification: Performance of Templates: time 0.04685/0.7369, allocations: 30.73 MB / 0.5088 GB, free: 14.79 MB / 382.1 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)