Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 104.9 kB / 16.51 MB, free: 6.719 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.00124/0.00124, allocations: 190.5 kB / 17.43 MB, free: 6.062 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.628/1.628, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.00144/0.001441, allocations: 51.94 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1283, allocations: 46.62 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.006345/0.1347, allocations: 3.753 MB / 329.7 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.1373, allocations: 1.002 MB / 330.7 MB, free: 108 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006831/0.138, allocations: 15.88 kB / 330.7 MB, free: 92 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005833/0.1387, allocations: 119.3 kB / 330.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.1399, allocations: 254.6 kB / 331.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.1404, allocations: 123.9 kB / 331.2 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002048/0.1425, allocations: 1.65 MB / 332.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.1436, allocations: 0.9361 MB / 333.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007356/0.1443, allocations: 0.5253 MB / 334.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008757/0.1452, allocations: 0.7237 MB / 335 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.1454, allocations: 107.9 kB / 335.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.1456, allocations: 100 kB / 335.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004004/0.146, allocations: 390.8 kB / 335.6 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006994/0.1467, allocations: 0.6647 MB / 336.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.1482, allocations: 1.955 MB / 338.2 MB, free: 8.504 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1483, allocations: 0 / 338.2 MB, free: 8.504 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1483, allocations: 4 kB / 338.3 MB, free: 8.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.1483, allocations: 3.938 kB / 338.3 MB, free: 8.496 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003039/0.1513, allocations: 1.66 MB / 339.9 MB, free: 6.781 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1514, allocations: 8.031 kB / 339.9 MB, free: 6.773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.1516, allocations: 143.3 kB / 340.1 MB, free: 6.633 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.1527, allocations: 0.8072 MB / 340.9 MB, free: 5.785 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.766e-05/0.1528, allocations: 86.59 kB / 341 MB, free: 5.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.153, allocations: 111.9 kB / 341.1 MB, free: 5.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.1553, allocations: 1.537 MB / 342.6 MB, free: 4.008 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.1553, allocations: 3.938 kB / 342.6 MB, free: 4.004 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.1555, allocations: 52 kB / 342.7 MB, free: 3.953 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.1555, allocations: 24 kB / 342.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.1575, allocations: 1.305 MB / 344 MB, free: 2.617 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006137/0.1636, allocations: 4.216 MB / 348.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.1647, allocations: 1.327 MB / 349.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006382/0.1654, allocations: 454.5 kB / 350 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.1654, allocations: 4.438 kB / 350 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.1655, allocations: 46.98 kB / 350 MB, free: 12.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.525e-06/0.1655, allocations: 0 / 350 MB, free: 12.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003164/0.1686, allocations: 1.942 MB / 352 MB, free: 10.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1687, allocations: 55.84 kB / 352 MB, free: 10.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.1697, allocations: 0.8165 MB / 352.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.1698, allocations: 41.7 kB / 352.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.1701, allocations: 0.5336 MB / 353.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.1703, allocations: 177.4 kB / 353.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.1705, allocations: 102.2 kB / 353.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1707, allocations: 390.7 kB / 354.1 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000457/0.1711, allocations: 300.9 kB / 354.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.1717, allocations: 407.3 kB / 354.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009405/0.1726, allocations: 0.6989 MB / 355.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1726, allocations: 0 / 355.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001379/0.174, allocations: 0.9164 MB / 356.4 MB, free: 5.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.174, allocations: 8 kB / 356.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1741, allocations: 0 / 356.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/0.1744, allocations: 112.8 kB / 356.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.1749, allocations: 127.8 kB / 356.6 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.1771, allocations: 2.174 MB / 358.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.1775, allocations: 23.98 kB / 358.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.1776, allocations: 27.98 kB / 358.8 MB, free: 3.117 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007671/0.1784, allocations: 461.3 kB / 359.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.1785, allocations: 75.16 kB / 359.4 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.1787, allocations: 87.08 kB / 359.4 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1787, allocations: 8.125 kB / 359.5 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.1787, allocations: 8 kB / 359.5 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1787, allocations: 3.984 kB / 359.5 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.1819, allocations: 2.033 MB / 361.5 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.1819, allocations: 0 / 361.5 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.1823, allocations: 87.88 kB / 361.6 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002565/0.1826, allocations: 104.9 kB / 361.7 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.1826, allocations: 16 kB / 361.7 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.1848, allocations: 2.127 MB / 363.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1849, allocations: 3.984 kB / 363.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.1867, allocations: 1.196 MB / 365 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.187, allocations: 168.2 kB / 365.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.1872, allocations: 15.98 kB / 365.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.1876, allocations: 47.95 kB / 365.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.1877, allocations: 36.38 kB / 365.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.1878, allocations: 16 kB / 365.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009572/0.1887, allocations: 0.5888 MB / 365.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1888, allocations: 0 / 365.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000924/0.1897, allocations: 212 kB / 366.1 MB, free: 11.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.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 (43): * Single equations (assignments): 42 * Array equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001891/0.1899, allocations: 111.1 kB / 366.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.1915, allocations: 0.8087 MB / 367 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.1915, allocations: 8 kB / 367 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007598/0.1923, allocations: 493.5 kB / 367.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.1933, allocations: 170.9 kB / 367.7 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.1987, allocations: 2.682 MB / 370.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.2004, allocations: 1.34 MB / 371.7 MB, free: 5.859 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007107/0.2011, allocations: 189.8 kB / 371.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.2013, allocations: 47.44 kB / 371.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2014, allocations: 0 / 371.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of Templates: time 0.2701/0.4715, allocations: 9.973 MB / 381.9 MB, free: 50.46 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)