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.00104/0.00104, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.00123/0.001231, allocations: 177.2 kB / 16.27 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004925/0.0004927, allocations: 20 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3031, allocations: 47.58 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009885/0.3131, allocations: 7.161 MB / 334.2 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008443/0.3216, allocations: 2.675 MB / 336.9 MB, free: 9.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002776/0.3245, allocations: 51.69 kB / 336.9 MB, free: 9.469 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.3265, allocations: 494.5 kB / 337.4 MB, free: 8.984 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.3298, allocations: 0.6763 MB / 338.1 MB, free: 8.305 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.3312, allocations: 387.6 kB / 338.5 MB, free: 7.926 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005389/0.3366, allocations: 3.768 MB / 342.2 MB, free: 4.141 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003933/0.3405, allocations: 2.789 MB / 345 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003637/0.3442, allocations: 1.207 MB / 346.2 MB, free: 88 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003544/0.3478, allocations: 1.673 MB / 347.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005548/0.3483, allocations: 192 kB / 348.1 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.3498, allocations: 443.5 kB / 348.5 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.3509, allocations: 0.915 MB / 349.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002523/0.3534, allocations: 1.63 MB / 351.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00707/0.3605, allocations: 5.715 MB / 356.8 MB, free: 5.488 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3605, allocations: 0 / 356.8 MB, free: 5.488 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3605, allocations: 0 / 356.8 MB, free: 5.488 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002042/0.3608, allocations: 4 kB / 356.8 MB, free: 5.484 MB / 286.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.008739/0.3695, allocations: 3.163 MB / 359.9 MB, free: 2.258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.404e-05/0.3696, allocations: 12.02 kB / 360 MB, free: 2.246 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.3716, allocations: 384.7 kB / 360.3 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004516/0.3761, allocations: 1.952 MB / 362.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.3764, allocations: 229.7 kB / 362.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005724/0.377, allocations: 280 kB / 362.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009622/0.3866, allocations: 4.191 MB / 367 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.941e-05/0.3867, allocations: 0 / 367 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003542/0.3871, allocations: 120 kB / 367.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002487/0.3874, allocations: 145.9 kB / 367.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008286/0.3957, allocations: 3.493 MB / 370.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/0.4204, allocations: 11.01 MB / 381.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.4233, allocations: 2.654 MB / 384.4 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002384/0.4257, allocations: 1.481 MB / 385.9 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.426, allocations: 130.1 kB / 386 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.426, allocations: 47.5 kB / 386 MB, free: 7.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.707e-06/0.426, allocations: 0 / 386 MB, free: 7.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.009495/0.4355, allocations: 5.325 MB / 391.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.4357, allocations: 94.42 kB / 391.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/0.4385, allocations: 1.909 MB / 393.4 MB, free: 188 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.4386, allocations: 49.7 kB / 393.4 MB, free: 132 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009569/0.4396, allocations: 1.314 MB / 394.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003722/0.4399, allocations: 461.3 kB / 395.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.4401, allocations: 121.6 kB / 395.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.4402, allocations: 309.1 kB / 395.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.4415, allocations: 0.8237 MB / 396.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.4429, allocations: 1.187 MB / 397.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002743/0.4457, allocations: 2.107 MB / 399.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.4457, allocations: 4 kB / 399.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004535/0.4502, allocations: 2.538 MB / 402.3 MB, free: 6.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.4503, allocations: 8 kB / 402.3 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.4503, allocations: 15.94 kB / 402.3 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/0.4523, allocations: 490.4 kB / 402.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.4538, allocations: 335.5 kB / 403.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005029/0.4588, allocations: 4.072 MB / 407.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.4606, allocations: 91.89 kB / 407.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.4607, allocations: 63.98 kB / 407.3 MB, free: 1.758 MB / 334.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.001881/0.4626, allocations: 1.048 MB / 408.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004643/0.4631, allocations: 189.7 kB / 408.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.4668, allocations: 2.149 MB / 410.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.649e-05/0.4669, allocations: 16 kB / 410.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4669, allocations: 4 kB / 410.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.4669, allocations: 19.91 kB / 410.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008249/0.4752, allocations: 5.214 MB / 416 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.4752, allocations: 0 / 416 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009976/0.4762, allocations: 227.9 kB / 416.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.4782, allocations: 468.4 kB / 416.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.783e-05/0.4783, allocations: 31.98 kB / 416.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004983/0.4833, allocations: 3.971 MB / 420.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4834, allocations: 0 / 420.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/0.4888, allocations: 3.269 MB / 423.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.4901, allocations: 470.6 kB / 424.4 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.4904, allocations: 27.98 kB / 424.4 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.4916, allocations: 99.97 kB / 424.5 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003563/0.492, allocations: 100.8 kB / 424.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.4921, allocations: 43.98 kB / 424.6 MB, free: 120 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002439/0.4945, allocations: 1.342 MB / 426 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.4945, allocations: 3.938 kB / 426 MB, free: 14.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001929/0.4965, allocations: 0.5584 MB / 426.5 MB, free: 14.22 MB / 366.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.0005616/0.497, allocations: 227.4 kB / 426.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003794/0.5009, allocations: 2.199 MB / 429 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.5009, allocations: 4 kB / 429 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.5029, allocations: 1.227 MB / 430.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/0.5061, allocations: 493.3 kB / 430.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.518, allocations: 7.107 MB / 437.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003063/0.5211, allocations: 2.427 MB / 440.2 MB, free: 432 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002107/0.5233, allocations: 499.4 kB / 440.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.5237, allocations: 131.4 kB / 440.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of SimCode: time 3.646e-06/0.5237, allocations: 4 kB / 440.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of Templates: time 0.2487/0.7725, allocations: 28.63 MB / 469.4 MB, free: 104.4 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)