Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.006963/0.006962, allocations: 101.3 kB / 15.73 MB, free: 6.051 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.001423/0.001423, allocations: 185.8 kB / 16.67 MB, free: 5.977 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.746/1.746, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.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.0016/0.0016, allocations: 53.67 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.143, allocations: 46.62 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.006573/0.1497, allocations: 3.723 MB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.1528, allocations: 1.06 MB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.1533, allocations: 15.94 kB / 378 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.1538, allocations: 162.8 kB / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.1548, allocations: 294.4 kB / 378.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1552, allocations: 135.8 kB / 378.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.1569, allocations: 1.455 MB / 380 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.1583, allocations: 1.146 MB / 381.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009106/0.1593, allocations: 0.6425 MB / 381.8 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.1604, allocations: 0.7706 MB / 382.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.1607, allocations: 160 kB / 382.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.1609, allocations: 160 kB / 382.9 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004939/0.1614, allocations: 462.7 kB / 383.3 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008276/0.1623, allocations: 0.7389 MB / 384.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.1641, allocations: 2.064 MB / 386.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1641, allocations: 0 / 386.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1642, allocations: 3.938 kB / 386.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.193e-05/0.1642, allocations: 8 kB / 386.1 MB, free: 4.277 MB / 318.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.003436/0.1676, allocations: 1.668 MB / 387.8 MB, free: 2.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1677, allocations: 16.03 kB / 387.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.168, allocations: 143.2 kB / 388 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.1693, allocations: 0.8228 MB / 388.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/0.1694, allocations: 90.38 kB / 388.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.1696, allocations: 108 kB / 389 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/0.1726, allocations: 1.572 MB / 390.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.1726, allocations: 0 / 390.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.1727, allocations: 44 kB / 390.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.1728, allocations: 28 kB / 390.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.1751, allocations: 1.324 MB / 391.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007522/0.1827, allocations: 4.279 MB / 396.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.1844, allocations: 1.334 MB / 397.6 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009174/0.1853, allocations: 0.5144 MB / 398.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.457e-05/0.1854, allocations: 16.42 kB / 398.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.1854, allocations: 35 kB / 398.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 4.799e-06/0.1854, allocations: 8 kB / 398.1 MB, free: 7.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.001638/0.1871, allocations: 0.8651 MB / 399 MB, free: 6.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.1872, allocations: 63.77 kB / 399.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.1884, allocations: 0.8242 MB / 399.9 MB, free: 6.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.1885, allocations: 37.7 kB / 399.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.1889, allocations: 0.5376 MB / 400.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.1891, allocations: 181.5 kB / 400.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.1893, allocations: 106.2 kB / 400.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1895, allocations: 382.8 kB / 401.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.19, allocations: 300.9 kB / 401.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.1905, allocations: 398.5 kB / 401.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009994/0.1915, allocations: 0.6864 MB / 402.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1916, allocations: 0 / 402.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001366/0.1929, allocations: 0.8297 MB / 403.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.193, allocations: 4 kB / 403.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.193, allocations: 4 kB / 403.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.808e-05/0.193, allocations: 4 kB / 403.3 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.1937, allocations: 147.8 kB / 403.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.1938, allocations: 4.281 kB / 403.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.1943, allocations: 71.38 kB / 403.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.1943, allocations: 20 kB / 403.6 MB, free: 2.254 MB / 334.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.0007959/0.1951, allocations: 461.4 kB / 404 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.1953, allocations: 79.06 kB / 404.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.1955, allocations: 91.02 kB / 404.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.1955, allocations: 8 kB / 404.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.1955, allocations: 0 / 404.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.1956, allocations: 7.922 kB / 404.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.1987, allocations: 1.938 MB / 406.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1987, allocations: 3.984 kB / 406.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/0.1992, allocations: 119.9 kB / 406.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1992, allocations: 0 / 406.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.1993, allocations: 16 kB / 406.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1993, allocations: 0 / 406.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.1993, allocations: 7.938 kB / 406.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.2012, allocations: 1.126 MB / 407.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.2014, allocations: 172.2 kB / 407.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.2016, allocations: 12 kB / 407.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.202, allocations: 55.88 kB / 407.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.2021, allocations: 44.27 kB / 407.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.2022, allocations: 12 kB / 407.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000784/0.203, allocations: 0.5966 MB / 408.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.203, allocations: 0 / 408.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007577/0.2037, allocations: 286.8 kB / 408.6 MB, free: 13.11 MB / 350.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.0001655/0.2039, allocations: 107.2 kB / 408.7 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.205, allocations: 0.6537 MB / 409.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.205, allocations: 4 kB / 409.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.2055, allocations: 322.2 kB / 409.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.2064, allocations: 187.3 kB / 409.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.2109, allocations: 2.278 MB / 412.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.2121, allocations: 1.336 MB / 413.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005454/0.2127, allocations: 201.8 kB / 413.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.2129, allocations: 51.44 kB / 413.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2129, allocations: 7.938 kB / 413.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of Templates: time 0.02424/0.2371, allocations: 10.14 MB / 423.8 MB, free: 13.73 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)