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.001279/0.001279, allocations: 109.4 kB / 16.51 MB, free: 6.707 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.001179/0.001179, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.729/1.729, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001176/0.001176, allocations: 47.94 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1427, allocations: 46.62 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.007348/0.1502, allocations: 3.757 MB / 329.7 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00332/0.1535, allocations: 1.056 MB / 330.8 MB, free: 48 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.1539, allocations: 19.88 kB / 330.8 MB, free: 28 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004052/0.1544, allocations: 119.3 kB / 330.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.1555, allocations: 266.6 kB / 331.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.1559, allocations: 119.9 kB / 331.3 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.1578, allocations: 1.693 MB / 333 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.159, allocations: 0.9519 MB / 333.9 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.16, allocations: 0.5448 MB / 334.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.1612, allocations: 0.7432 MB / 335.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.1614, allocations: 104 kB / 335.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.1617, allocations: 107.9 kB / 335.4 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004093/0.1621, allocations: 402.7 kB / 335.8 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009463/0.163, allocations: 0.6686 MB / 336.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.1655, allocations: 1.986 MB / 338.5 MB, free: 8.285 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.441e-05/0.1656, allocations: 0 / 338.5 MB, free: 8.285 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1656, allocations: 0 / 338.5 MB, free: 8.285 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.991e-05/0.1657, allocations: 0 / 338.5 MB, free: 8.285 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.004243/0.1699, allocations: 1.691 MB / 340.2 MB, free: 6.539 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.812e-05/0.17, allocations: 12.03 kB / 340.2 MB, free: 6.527 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/0.1703, allocations: 139.2 kB / 340.3 MB, free: 6.391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.1718, allocations: 0.819 MB / 341.1 MB, free: 5.531 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.195e-05/0.1719, allocations: 90.5 kB / 341.2 MB, free: 5.441 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.1721, allocations: 119.9 kB / 341.3 MB, free: 5.324 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.1749, allocations: 1.561 MB / 342.9 MB, free: 3.719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.175, allocations: 0 / 342.9 MB, free: 3.719 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.1751, allocations: 44 kB / 342.9 MB, free: 3.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.1751, allocations: 32 kB / 343 MB, free: 3.645 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.1775, allocations: 1.336 MB / 344.3 MB, free: 2.301 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007452/0.1849, allocations: 4.314 MB / 348.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.1865, allocations: 1.337 MB / 350 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.1875, allocations: 0.53 MB / 350.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.1876, allocations: 8.438 kB / 350.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.1876, allocations: 39 kB / 350.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 3.406e-06/0.1876, allocations: 0 / 350.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001773/0.1894, allocations: 0.8768 MB / 351.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.1895, allocations: 55.84 kB / 351.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.1907, allocations: 0.8243 MB / 352.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/0.1907, allocations: 37.7 kB / 352.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004949/0.1912, allocations: 0.5376 MB / 352.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.1915, allocations: 177.5 kB / 353 MB, free: 9.211 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.1916, allocations: 110.2 kB / 353.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1918, allocations: 386.7 kB / 353.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.1923, allocations: 304.8 kB / 353.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.1929, allocations: 390.5 kB / 354.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000998/0.1939, allocations: 0.6903 MB / 354.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1939, allocations: 0 / 354.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001358/0.1953, allocations: 0.8258 MB / 355.7 MB, free: 6.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.1953, allocations: 4 kB / 355.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.1953, allocations: 4 kB / 355.7 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.59e-05/0.1954, allocations: 7.984 kB / 355.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.1961, allocations: 143.8 kB / 355.9 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.1961, allocations: 7.938 kB / 355.9 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/0.1968, allocations: 71.62 kB / 355.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.1969, allocations: 23.94 kB / 356 MB, free: 6.188 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.0008846/0.1978, allocations: 462.4 kB / 356.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.1979, allocations: 75.16 kB / 356.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.1981, allocations: 87.08 kB / 356.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1981, allocations: 4 kB / 356.6 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.1981, allocations: 4 kB / 356.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.1981, allocations: 7.922 kB / 356.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/0.2015, allocations: 1.951 MB / 358.5 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2015, allocations: 0 / 358.5 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.202, allocations: 119.8 kB / 358.7 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.2021, allocations: 4.156 kB / 358.7 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/0.2021, allocations: 16 kB / 358.7 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.2021, allocations: 4 kB / 358.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2021, allocations: 4 kB / 358.7 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.2039, allocations: 1.121 MB / 359.8 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.2043, allocations: 176.2 kB / 360 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.2044, allocations: 12.09 kB / 360 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.2048, allocations: 51.94 kB / 360 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.205, allocations: 40.31 kB / 360.1 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.205, allocations: 16 kB / 360.1 MB, free: 1.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009123/0.206, allocations: 0.5966 MB / 360.7 MB, free: 1.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.206, allocations: 3.938 kB / 360.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001116/0.2071, allocations: 282.7 kB / 361 MB, free: 1.047 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.0002921/0.2074, allocations: 119.1 kB / 361.1 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.2088, allocations: 0.6419 MB / 361.7 MB, free: 280 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2089, allocations: 0 / 361.7 MB, free: 280 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005646/0.2094, allocations: 331 kB / 362.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009988/0.2104, allocations: 170.3 kB / 362.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.2147, allocations: 2.775 MB / 365 MB, free: 12.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009878/0.2157, allocations: 1.34 MB / 366.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005784/0.2163, allocations: 201.8 kB / 366.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.2165, allocations: 55.42 kB / 366.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of SimCode: time 1.523e-06/0.2165, allocations: 0 / 366.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of Templates: time 0.02224/0.2388, allocations: 9.542 MB / 376.1 MB, free: 1.793 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)