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.001244/0.001244, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001266/0.001266, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.552/1.552, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001288/0.001288, allocations: 51.92 kB / 280 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1351, allocations: 46.64 MB / 326.6 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.006337/0.1415, allocations: 3.723 MB / 330.3 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.1441, allocations: 1.068 MB / 331.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.1443, allocations: 15.94 kB / 331.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.1448, allocations: 154.8 kB / 331.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008364/0.1456, allocations: 286.4 kB / 331.9 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1459, allocations: 139.8 kB / 332 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.1477, allocations: 1.436 MB / 333.4 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.1491, allocations: 1.15 MB / 334.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009639/0.1501, allocations: 0.6386 MB / 335.2 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.1511, allocations: 0.7667 MB / 336 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.1513, allocations: 160 kB / 336.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.1516, allocations: 160 kB / 336.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004118/0.152, allocations: 470.7 kB / 336.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008389/0.1528, allocations: 0.735 MB / 337.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.1548, allocations: 2.045 MB / 339.5 MB, free: 7.457 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.1549, allocations: 0 / 339.5 MB, free: 7.457 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.1549, allocations: 8 kB / 339.5 MB, free: 7.449 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.774e-05/0.1549, allocations: 0 / 339.5 MB, free: 7.449 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.003486/0.1584, allocations: 1.68 MB / 341.2 MB, free: 5.715 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.949e-05/0.1585, allocations: 12.03 kB / 341.2 MB, free: 5.703 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/0.1588, allocations: 143.2 kB / 341.4 MB, free: 5.562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.1601, allocations: 0.819 MB / 342.2 MB, free: 4.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.47e-05/0.1602, allocations: 82.62 kB / 342.3 MB, free: 4.621 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.1604, allocations: 115.9 kB / 342.4 MB, free: 4.508 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.1631, allocations: 1.572 MB / 344 MB, free: 2.891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.1631, allocations: 0 / 344 MB, free: 2.891 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.1632, allocations: 48 kB / 344 MB, free: 2.844 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.1633, allocations: 24 kB / 344 MB, free: 2.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.1656, allocations: 1.328 MB / 345.4 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007913/0.1735, allocations: 4.318 MB / 349.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.175, allocations: 1.327 MB / 351 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008732/0.1759, allocations: 0.5339 MB / 351.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.1759, allocations: 8.438 kB / 351.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.176, allocations: 46.98 kB / 351.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.785e-06/0.176, allocations: 0 / 351.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001571/0.1776, allocations: 0.8729 MB / 352.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.1776, allocations: 59.83 kB / 352.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.1788, allocations: 0.8204 MB / 353.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.1788, allocations: 41.7 kB / 353.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/0.1793, allocations: 0.5376 MB / 353.9 MB, free: 8.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.1794, allocations: 177.5 kB / 354.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.1796, allocations: 102.2 kB / 354.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.1799, allocations: 394.6 kB / 354.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.1804, allocations: 304.8 kB / 354.9 MB, free: 7.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/0.1809, allocations: 394.5 kB / 355.3 MB, free: 7.172 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.1819, allocations: 0.6864 MB / 355.9 MB, free: 6.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.182, allocations: 0 / 355.9 MB, free: 6.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001378/0.1833, allocations: 0.8258 MB / 356.8 MB, free: 5.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.1834, allocations: 4 kB / 356.8 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.1834, allocations: 4 kB / 356.8 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.1834, allocations: 4 kB / 356.8 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/0.1842, allocations: 152.1 kB / 356.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.1842, allocations: 7.938 kB / 356.9 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.1847, allocations: 67.34 kB / 357 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.1847, allocations: 20 kB / 357 MB, free: 5.371 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.0007277/0.1855, allocations: 462.4 kB / 357.5 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.1856, allocations: 79.09 kB / 357.6 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.1858, allocations: 87.08 kB / 357.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1858, allocations: 12 kB / 357.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.1858, allocations: 4 kB / 357.7 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.1858, allocations: 7.922 kB / 357.7 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.1891, allocations: 1.95 MB / 359.6 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1891, allocations: 160 / 359.6 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005179/0.1896, allocations: 119.9 kB / 359.7 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.1896, allocations: 4 kB / 359.7 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.1897, allocations: 8 kB / 359.7 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.1897, allocations: 4 kB / 359.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.1897, allocations: 4 kB / 359.7 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.1914, allocations: 1.125 MB / 360.9 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.1917, allocations: 172.2 kB / 361 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.385e-05/0.1918, allocations: 11.98 kB / 361.1 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.1922, allocations: 51.95 kB / 361.1 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.1923, allocations: 36.33 kB / 361.1 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.1924, allocations: 19.98 kB / 361.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008888/0.1933, allocations: 0.5927 MB / 361.8 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1933, allocations: 3.938 kB / 361.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009396/0.1942, allocations: 286.7 kB / 362 MB, free: 232 kB / 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.0002316/0.1945, allocations: 119.1 kB / 362.2 MB, free: 104 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.1959, allocations: 0.7941 MB / 362.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1959, allocations: 0.5625 kB / 362.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004628/0.1964, allocations: 334.2 kB / 363.3 MB, free: 14.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/0.1973, allocations: 179.2 kB / 363.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.2016, allocations: 2.289 MB / 365.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.2028, allocations: 1.336 MB / 367.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006343/0.2034, allocations: 209.8 kB / 367.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.2036, allocations: 51.44 kB / 367.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2036, allocations: 0 / 367.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of Templates: time 0.01827/0.2219, allocations: 10.01 MB / 377.3 MB, free: 0.8242 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)