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.01564/0.01564, allocations: 106.1 kB / 15.73 MB, free: 6.047 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.002131/0.002131, allocations: 196.6 kB / 16.67 MB, free: 5.961 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.91/1.91, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001214/0.001214, allocations: 50.64 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1279, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01096/0.1389, allocations: 7.717 MB / 380.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007519/0.1465, allocations: 2.734 MB / 383.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/0.1488, allocations: 59.69 kB / 383.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.1508, allocations: 0.5625 MB / 384.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003602/0.1544, allocations: 0.7302 MB / 385 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.156, allocations: 435.4 kB / 385.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005172/0.1612, allocations: 3.409 MB / 388.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004466/0.1657, allocations: 3.434 MB / 392.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004518/0.1702, allocations: 1.663 MB / 393.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004906/0.1752, allocations: 2.013 MB / 395.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001822/0.177, allocations: 460 kB / 396.4 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002698/0.1797, allocations: 0.6714 MB / 397 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001885/0.1816, allocations: 1.239 MB / 398.3 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004824/0.1865, allocations: 1.964 MB / 400.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009555/0.1961, allocations: 6.095 MB / 406.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/0.1962, allocations: 4 kB / 406.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.1962, allocations: 0 / 406.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002922/0.1965, allocations: 0 / 406.3 MB, free: 15.96 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.01377/0.2103, allocations: 3.783 MB / 410.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.2104, allocations: 12.03 kB / 410.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.2117, allocations: 384.7 kB / 410.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/0.2155, allocations: 1.964 MB / 412.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.2157, allocations: 225.8 kB / 412.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000446/0.2161, allocations: 284 kB / 413 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008175/0.2243, allocations: 4.191 MB / 417.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.2e-05/0.2245, allocations: 0 / 417.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003205/0.2248, allocations: 124 kB / 417.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/0.225, allocations: 141.9 kB / 417.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006346/0.2313, allocations: 3.482 MB / 420.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02267/0.2541, allocations: 10.78 MB / 431.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.2574, allocations: 2.65 MB / 434.3 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.2601, allocations: 1.493 MB / 435.8 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/0.2604, allocations: 130.1 kB / 436 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.2604, allocations: 43.56 kB / 436 MB, free: 1.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.218e-06/0.2604, allocations: 0 / 436 MB, free: 1.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.01098/0.2714, allocations: 5.278 MB / 441.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.2716, allocations: 90.42 kB / 441.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004049/0.2756, allocations: 1.913 MB / 443.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001877/0.2758, allocations: 53.7 kB / 443.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.2769, allocations: 1.318 MB / 444.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/0.2775, allocations: 461.3 kB / 445.1 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005441/0.278, allocations: 271.3 kB / 445.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.2781, allocations: 305.1 kB / 445.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.2795, allocations: 0.8198 MB / 446.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.2812, allocations: 1.183 MB / 447.7 MB, free: 5.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.2842, allocations: 2.091 MB / 449.8 MB, free: 3.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/0.2842, allocations: 0 / 449.8 MB, free: 3.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004823/0.289, allocations: 2.527 MB / 452.3 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.2891, allocations: 11.91 kB / 452.3 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.2891, allocations: 12 kB / 452.3 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.2907, allocations: 426.5 kB / 452.7 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.2921, allocations: 335.5 kB / 453 MB, free: 184 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3185/0.6107, allocations: 4.409 MB / 457.5 MB, free: 66.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.6127, allocations: 86.5 kB / 457.5 MB, free: 66.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/0.613, allocations: 61.59 kB / 457.6 MB, free: 66.17 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.002834/0.6159, allocations: 1.048 MB / 458.6 MB, free: 65.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000968/0.6169, allocations: 192.5 kB / 458.8 MB, free: 65.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004789/0.6217, allocations: 2.148 MB / 461 MB, free: 64.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.206e-05/0.6217, allocations: 17.81 kB / 461 MB, free: 64.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.6218, allocations: 3.594 kB / 461 MB, free: 64.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.6218, allocations: 10.23 kB / 461 MB, free: 64.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.6346, allocations: 5.173 MB / 466.2 MB, free: 62.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.6347, allocations: 0.875 kB / 466.2 MB, free: 62.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.6359, allocations: 226.8 kB / 466.4 MB, free: 62.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/0.6375, allocations: 398 kB / 466.8 MB, free: 62.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.6376, allocations: 36.56 kB / 466.8 MB, free: 62.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005294/0.6429, allocations: 4.287 MB / 471.1 MB, free: 59.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.643, allocations: 2.75 kB / 471.1 MB, free: 59.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005642/0.6486, allocations: 3.263 MB / 474.4 MB, free: 58.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/0.65, allocations: 460 kB / 474.8 MB, free: 58.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/0.6504, allocations: 27.84 kB / 474.9 MB, free: 58.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.6514, allocations: 99.39 kB / 475 MB, free: 58.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.6517, allocations: 98.92 kB / 475.1 MB, free: 58.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.739e-05/0.6518, allocations: 38.78 kB / 475.1 MB, free: 58.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002003/0.6538, allocations: 1.342 MB / 476.4 MB, free: 57.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6538, allocations: 0 / 476.4 MB, free: 57.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002448/0.6562, allocations: 0.5466 MB / 477 MB, free: 57.33 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.0007016/0.657, allocations: 221.3 kB / 477.2 MB, free: 57.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.6601, allocations: 2.199 MB / 479.4 MB, free: 56.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.6602, allocations: 0 / 479.4 MB, free: 56.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.6619, allocations: 1.224 MB / 480.6 MB, free: 55.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.6643, allocations: 0.5126 MB / 481.1 MB, free: 54.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008504/0.6728, allocations: 5.709 MB / 486.8 MB, free: 49.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.6745, allocations: 2.42 MB / 489.3 MB, free: 46.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001433/0.6759, allocations: 0.491 MB / 489.8 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.6763, allocations: 135.4 kB / 489.9 MB, free: 45.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6763, allocations: 3.938 kB / 489.9 MB, free: 45.95 MB / 382.1 MB Notification: Performance of Templates: time 0.051/0.7273, allocations: 30.73 MB / 0.5084 GB, free: 15.2 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)