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.01206/0.01206, allocations: 104.1 kB / 15.74 MB, free: 6.031 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: 194 kB / 16.67 MB, free: 5.953 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.966/1.966, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.001202/0.001202, allocations: 53.94 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.125, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01103/0.1361, allocations: 7.713 MB / 380.9 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00695/0.1431, allocations: 2.734 MB / 383.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.1453, allocations: 63.62 kB / 383.7 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.1474, allocations: 0.5663 MB / 384.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.1509, allocations: 0.738 MB / 385 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.1526, allocations: 423.5 kB / 385.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004933/0.1576, allocations: 3.413 MB / 388.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004564/0.1622, allocations: 3.434 MB / 392.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.1657, allocations: 1.659 MB / 393.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.1685, allocations: 2.016 MB / 395.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005955/0.1691, allocations: 464 kB / 396.4 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.1703, allocations: 0.6753 MB / 397.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.1714, allocations: 1.235 MB / 398.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002116/0.1735, allocations: 1.968 MB / 400.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005768/0.1793, allocations: 6.091 MB / 406.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1793, allocations: 0 / 406.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.1794, allocations: 0 / 406.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.246e-05/0.1795, allocations: 3.938 kB / 406.4 MB, free: 15.94 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.008204/0.1877, allocations: 3.779 MB / 410.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.1877, allocations: 8.031 kB / 410.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009986/0.1887, allocations: 388.7 kB / 410.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/0.1923, allocations: 1.968 MB / 412.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.1924, allocations: 221.8 kB / 412.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004012/0.1928, allocations: 292 kB / 413 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006646/0.1995, allocations: 4.183 MB / 417.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.977e-05/0.1996, allocations: 0 / 417.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/0.1998, allocations: 116 kB / 417.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.2, allocations: 141.9 kB / 417.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0055/0.2055, allocations: 3.49 MB / 420.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01862/0.2241, allocations: 10.78 MB / 431.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/0.227, allocations: 2.638 MB / 434.3 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/0.2295, allocations: 1.501 MB / 435.8 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.2298, allocations: 126.1 kB / 436 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.2298, allocations: 47.56 kB / 436 MB, free: 1.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.316e-06/0.2298, allocations: 3.938 kB / 436 MB, free: 1.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.009579/0.2394, allocations: 5.278 MB / 441.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.2395, allocations: 90.42 kB / 441.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/0.2423, allocations: 1.917 MB / 443.3 MB, free: 10.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.71e-05/0.2424, allocations: 45.7 kB / 443.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.2434, allocations: 1.322 MB / 444.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004545/0.2439, allocations: 457.4 kB / 445.1 MB, free: 8.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004756/0.2444, allocations: 275.3 kB / 445.4 MB, free: 8.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2445, allocations: 305.1 kB / 445.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.2458, allocations: 0.812 MB / 446.5 MB, free: 7.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.2472, allocations: 1.195 MB / 447.7 MB, free: 5.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002716/0.25, allocations: 2.079 MB / 449.8 MB, free: 3.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.25, allocations: 4 kB / 449.8 MB, free: 3.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004329/0.2543, allocations: 2.53 MB / 452.3 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.2544, allocations: 11.91 kB / 452.3 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.2544, allocations: 15.98 kB / 452.3 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.2559, allocations: 426.5 kB / 452.7 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.2572, allocations: 327.5 kB / 453.1 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3416/0.5988, allocations: 4.407 MB / 457.5 MB, free: 66.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.6006, allocations: 84.02 kB / 457.5 MB, free: 66.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.6008, allocations: 62.42 kB / 457.6 MB, free: 66.26 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.002135/0.603, allocations: 1.053 MB / 458.7 MB, free: 65.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007441/0.6037, allocations: 190.7 kB / 458.8 MB, free: 65.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004142/0.6079, allocations: 2.144 MB / 461 MB, free: 64.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.404e-05/0.6079, allocations: 16.53 kB / 461 MB, free: 64.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.608, allocations: 4.562 kB / 461 MB, free: 64.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/0.608, allocations: 6.703 kB / 461 MB, free: 64.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.6182, allocations: 5.18 MB / 466.2 MB, free: 62.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.6182, allocations: 3.688 kB / 466.2 MB, free: 62.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.6193, allocations: 220.7 kB / 466.4 MB, free: 62.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/0.6207, allocations: 403.8 kB / 466.8 MB, free: 62.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.028e-05/0.6208, allocations: 35.11 kB / 466.8 MB, free: 62.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00475/0.6255, allocations: 4.289 MB / 471.1 MB, free: 59.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6256, allocations: 9.812 kB / 471.1 MB, free: 59.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004481/0.63, allocations: 3.25 MB / 474.4 MB, free: 58.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.6312, allocations: 459.7 kB / 474.8 MB, free: 58.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.6314, allocations: 36.33 kB / 474.9 MB, free: 58.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.6324, allocations: 94.47 kB / 475 MB, free: 58.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.6327, allocations: 95.02 kB / 475.1 MB, free: 58.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.759e-05/0.6328, allocations: 41.58 kB / 475.1 MB, free: 58.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001723/0.6345, allocations: 1.338 MB / 476.4 MB, free: 57.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6345, allocations: 0 / 476.4 MB, free: 57.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00178/0.6363, allocations: 0.5568 MB / 477 MB, free: 57.42 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.0005323/0.6368, allocations: 218.9 kB / 477.2 MB, free: 57.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003075/0.6399, allocations: 2.192 MB / 479.4 MB, free: 56.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6399, allocations: 2.438 kB / 479.4 MB, free: 56.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.6416, allocations: 1.227 MB / 480.6 MB, free: 55.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.644, allocations: 0.5082 MB / 481.1 MB, free: 54.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008584/0.6526, allocations: 5.709 MB / 486.9 MB, free: 49.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.6542, allocations: 2.419 MB / 489.3 MB, free: 46.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00144/0.6557, allocations: 0.4915 MB / 489.8 MB, free: 46.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/0.6561, allocations: 131.4 kB / 489.9 MB, free: 45.96 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6561, allocations: 0 / 489.9 MB, free: 45.96 MB / 382.1 MB Notification: Performance of Templates: time 0.04832/0.7044, allocations: 31.09 MB / 0.5088 GB, free: 14.85 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)