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.001833/0.001834, allocations: 101.8 kB / 16.62 MB, free: 6.809 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.001895/0.001896, allocations: 189.8 kB / 17.55 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.662/1.662, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001291/0.001291, allocations: 39.94 kB / 279.5 MB, free: 3.516 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.146, allocations: 46.64 MB / 326.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.009927/0.156, allocations: 3.745 MB / 329.9 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.1594, allocations: 0.9979 MB / 330.9 MB, free: 24 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005974/0.16, allocations: 19.94 kB / 330.9 MB, free: 4 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.1608, allocations: 123.2 kB / 331 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.1622, allocations: 250.8 kB / 331.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.1627, allocations: 111.9 kB / 331.4 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00216/0.1648, allocations: 1.416 MB / 332.8 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.1668, allocations: 1.114 MB / 333.9 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.1682, allocations: 0.6192 MB / 334.5 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.1703, allocations: 0.7745 MB / 335.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00055/0.1709, allocations: 156 kB / 335.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.1715, allocations: 156 kB / 335.6 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008441/0.1724, allocations: 470.7 kB / 336.1 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002197/0.1746, allocations: 0.7273 MB / 336.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.1776, allocations: 2.014 MB / 338.8 MB, free: 8.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1776, allocations: 0 / 338.8 MB, free: 8.043 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1777, allocations: 0 / 338.8 MB, free: 8.043 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001069/0.1778, allocations: 0 / 338.8 MB, free: 8.043 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.005572/0.1834, allocations: 1.66 MB / 340.5 MB, free: 6.328 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.876e-05/0.1834, allocations: 12.03 kB / 340.5 MB, free: 6.316 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.1838, allocations: 135.3 kB / 340.6 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.1854, allocations: 0.8112 MB / 341.4 MB, free: 5.328 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.135e-05/0.1855, allocations: 86.58 kB / 341.5 MB, free: 5.242 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.1857, allocations: 111.9 kB / 341.6 MB, free: 5.133 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/0.1889, allocations: 1.54 MB / 343.1 MB, free: 3.547 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.189, allocations: 3.938 kB / 343.2 MB, free: 3.543 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.1891, allocations: 44 kB / 343.2 MB, free: 3.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.1891, allocations: 28 kB / 343.2 MB, free: 3.473 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.1916, allocations: 1.312 MB / 344.5 MB, free: 2.152 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007017/0.1986, allocations: 4.216 MB / 348.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.2, allocations: 1.319 MB / 350.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/0.2007, allocations: 454.5 kB / 350.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.2008, allocations: 4.438 kB / 350.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.2008, allocations: 39 kB / 350.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.063e-06/0.2008, allocations: 0 / 350.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003424/0.2043, allocations: 1.946 MB / 352.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.2043, allocations: 63.83 kB / 352.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009582/0.2053, allocations: 0.8165 MB / 353.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.2053, allocations: 29.7 kB / 353.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.2058, allocations: 0.5375 MB / 353.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.2059, allocations: 185.4 kB / 354.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.2061, allocations: 102.2 kB / 354.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.2063, allocations: 390.7 kB / 354.6 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/0.2067, allocations: 304.9 kB / 354.9 MB, free: 7.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.2073, allocations: 399.4 kB / 355.3 MB, free: 6.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/0.2082, allocations: 0.6989 MB / 356 MB, free: 6.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2082, allocations: 0 / 356 MB, free: 6.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001376/0.2096, allocations: 0.9201 MB / 356.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.2096, allocations: 4 kB / 356.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.2096, allocations: 7.984 kB / 356.9 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/0.21, allocations: 113.1 kB / 357 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.2105, allocations: 119.8 kB / 357.2 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.2132, allocations: 2.38 MB / 359.5 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.2136, allocations: 27.92 kB / 359.6 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.2137, allocations: 24 kB / 359.6 MB, free: 2.445 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.0008363/0.2145, allocations: 453.4 kB / 360 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.2147, allocations: 75.09 kB / 360.1 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.2148, allocations: 95.14 kB / 360.2 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2148, allocations: 4 kB / 360.2 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2148, allocations: 0 / 360.2 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.2148, allocations: 7.922 kB / 360.2 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/0.2179, allocations: 2.033 MB / 362.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2179, allocations: 0 / 362.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.2183, allocations: 83.89 kB / 362.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/0.2185, allocations: 112.9 kB / 362.4 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/0.2186, allocations: 12 kB / 362.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002647/0.2213, allocations: 2.329 MB / 364.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2213, allocations: 0 / 364.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.2229, allocations: 1.204 MB / 366 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.2231, allocations: 156.2 kB / 366.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.2232, allocations: 16.27 kB / 366.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.2236, allocations: 52.02 kB / 366.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2237, allocations: 40.31 kB / 366.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.2238, allocations: 19.94 kB / 366.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007539/0.2245, allocations: 0.5849 MB / 366.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2245, allocations: 0 / 366.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008437/0.2254, allocations: 212 kB / 367 MB, free: 10.7 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.0001919/0.2256, allocations: 111.2 kB / 367.2 MB, free: 10.58 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.2273, allocations: 0.9416 MB / 368.1 MB, free: 9.621 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2273, allocations: 0 / 368.1 MB, free: 9.621 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007401/0.228, allocations: 488.9 kB / 368.6 MB, free: 9.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009191/0.229, allocations: 178.4 kB / 368.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.2328, allocations: 2.691 MB / 371.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009425/0.2337, allocations: 1.332 MB / 372.8 MB, free: 4.859 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004697/0.2342, allocations: 185.8 kB / 373 MB, free: 4.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.2344, allocations: 51.44 kB / 373 MB, free: 4.625 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2344, allocations: 7.938 kB / 373 MB, free: 4.617 MB / 318.1 MB Notification: Performance of Templates: time 0.1865/0.4209, allocations: 10.35 MB / 383.4 MB, free: 51.49 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)