Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 113.1 kB / 16.63 MB, free: 6.812 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.001426/0.001427, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.623/1.623, allocations: 205.1 MB / 223.4 MB, free: 12.42 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.001244/0.001244, allocations: 52.39 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1242, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005289/0.1296, allocations: 3.753 MB / 329.9 MB, free: 1 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1319, allocations: 1.049 MB / 330.9 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.1321, allocations: 15.94 kB / 331 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.1325, allocations: 127.2 kB / 331.1 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007973/0.1333, allocations: 262.7 kB / 331.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.1336, allocations: 115.9 kB / 331.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.1349, allocations: 1.451 MB / 332.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.1361, allocations: 1.134 MB / 334 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006856/0.1368, allocations: 0.6425 MB / 334.7 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009666/0.1377, allocations: 0.794 MB / 335.5 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.1379, allocations: 160 kB / 335.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.1382, allocations: 156 kB / 335.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003962/0.1386, allocations: 466.7 kB / 336.2 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000715/0.1393, allocations: 0.7467 MB / 337 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.141, allocations: 2.037 MB / 339 MB, free: 7.809 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.141, allocations: 0 / 339 MB, free: 7.809 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.141, allocations: 0 / 339 MB, free: 7.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.872e-05/0.141, allocations: 11.98 kB / 339 MB, free: 7.797 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002942/0.144, allocations: 1.676 MB / 340.7 MB, free: 6.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.1441, allocations: 16.03 kB / 340.7 MB, free: 6.051 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.1443, allocations: 147.2 kB / 340.9 MB, free: 5.906 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.1456, allocations: 0.8267 MB / 341.7 MB, free: 5.035 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.01e-05/0.1456, allocations: 86.56 kB / 341.8 MB, free: 4.949 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.1458, allocations: 111.9 kB / 341.9 MB, free: 4.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.1483, allocations: 1.568 MB / 343.5 MB, free: 3.227 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.1484, allocations: 7.938 kB / 343.5 MB, free: 3.219 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.1485, allocations: 44 kB / 343.5 MB, free: 3.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.1485, allocations: 28 kB / 343.5 MB, free: 3.148 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.1507, allocations: 1.324 MB / 344.9 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006467/0.1572, allocations: 4.322 MB / 349.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.1585, allocations: 1.329 MB / 350.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008654/0.1594, allocations: 0.53 MB / 351 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.1594, allocations: 8.438 kB / 351 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1595, allocations: 39 kB / 351.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.394e-06/0.1595, allocations: 0 / 351.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001408/0.1609, allocations: 0.8767 MB / 352 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.161, allocations: 55.84 kB / 352 MB, free: 10.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009533/0.1619, allocations: 0.8243 MB / 352.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.162, allocations: 33.7 kB / 352.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.1623, allocations: 0.5454 MB / 353.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.1625, allocations: 177.5 kB / 353.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.1626, allocations: 102.2 kB / 353.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1628, allocations: 386.7 kB / 354.1 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.1633, allocations: 304.9 kB / 354.4 MB, free: 7.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.1637, allocations: 394.5 kB / 354.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008683/0.1646, allocations: 0.6902 MB / 355.4 MB, free: 6.793 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1646, allocations: 0 / 355.4 MB, free: 6.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001225/0.1659, allocations: 0.822 MB / 356.3 MB, free: 5.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1659, allocations: 4 kB / 356.3 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1659, allocations: 4 kB / 356.3 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.1659, allocations: 4 kB / 356.3 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.1665, allocations: 152.1 kB / 356.4 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.1665, allocations: 4 kB / 356.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.1669, allocations: 67.34 kB / 356.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.167, allocations: 23.94 kB / 356.5 MB, free: 5.707 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006074/0.1676, allocations: 462.4 kB / 357 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.1677, allocations: 75.16 kB / 357 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.1679, allocations: 91.08 kB / 357.1 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1679, allocations: 4 kB / 357.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.1679, allocations: 8 kB / 357.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.1679, allocations: 7.922 kB / 357.1 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/0.1708, allocations: 1.947 MB / 359.1 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1708, allocations: 0 / 359.1 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.1713, allocations: 124 kB / 359.2 MB, free: 2.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.1713, allocations: 4 kB / 359.2 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.1713, allocations: 19.92 kB / 359.2 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.1713, allocations: 7.938 kB / 359.2 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.1714, allocations: 4 kB / 359.2 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.1728, allocations: 1.121 MB / 360.4 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.173, allocations: 172.2 kB / 360.5 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.1731, allocations: 12 kB / 360.6 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.1735, allocations: 51.95 kB / 360.6 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.1736, allocations: 44.25 kB / 360.6 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.1737, allocations: 16 kB / 360.7 MB, free: 1.422 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007173/0.1744, allocations: 0.5888 MB / 361.2 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1744, allocations: 0 / 361.2 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007341/0.1751, allocations: 282.7 kB / 361.5 MB, free: 0.5625 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001681/0.1753, allocations: 119.1 kB / 361.6 MB, free: 448 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.1765, allocations: 0.8019 MB / 362.4 MB, free: 15.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1765, allocations: 0.5625 kB / 362.4 MB, free: 15.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004047/0.1769, allocations: 330.3 kB / 362.8 MB, free: 15.31 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008499/0.1778, allocations: 170.2 kB / 362.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.1817, allocations: 2.778 MB / 365.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.1829, allocations: 1.34 MB / 367.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005213/0.1834, allocations: 205.8 kB / 367.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.1836, allocations: 51.44 kB / 367.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1836, allocations: 0 / 367.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of Templates: time 0.01902/0.2026, allocations: 9.906 MB / 377.2 MB, free: 0.7812 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)