Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.00152/0.00152, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002326/0.002326, allocations: 193.2 kB / 16.67 MB, free: 6.57 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.83/1.83, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001331/0.001331, allocations: 53.59 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1221, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.006233/0.1283, allocations: 3.708 MB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.1313, allocations: 1.005 MB / 377.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.1317, allocations: 15.94 kB / 377.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.1323, allocations: 158.8 kB / 378 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.1333, allocations: 286.5 kB / 378.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1336, allocations: 131.8 kB / 378.5 MB, free: 12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.135, allocations: 1.416 MB / 379.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.1363, allocations: 1.122 MB / 381 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009905/0.1373, allocations: 0.623 MB / 381.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.1385, allocations: 0.755 MB / 382.4 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.1388, allocations: 156 kB / 382.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.1391, allocations: 156 kB / 382.7 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004566/0.1395, allocations: 462.7 kB / 383.1 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008577/0.1404, allocations: 0.7233 MB / 383.8 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.1425, allocations: 2.036 MB / 385.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1425, allocations: 3.938 kB / 385.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1426, allocations: 3.938 kB / 385.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.965e-05/0.1426, allocations: 0 / 385.9 MB, free: 4.5 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003238/0.1458, allocations: 1.69 MB / 387.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1459, allocations: 8.031 kB / 387.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.1461, allocations: 148 kB / 387.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.1478, allocations: 0.8234 MB / 388.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.656e-05/0.1479, allocations: 86.34 kB / 388.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.1481, allocations: 108 kB / 388.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002879/0.151, allocations: 1.54 MB / 390.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.1511, allocations: 0 / 390.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.1512, allocations: 48 kB / 390.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.1512, allocations: 28 kB / 390.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.1535, allocations: 1.304 MB / 391.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00718/0.1607, allocations: 4.183 MB / 395.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.162, allocations: 1.303 MB / 397.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006932/0.1627, allocations: 462.5 kB / 397.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.1628, allocations: 4.438 kB / 397.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.1628, allocations: 39 kB / 397.6 MB, free: 8.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.675e-06/0.1628, allocations: 0 / 397.6 MB, free: 8.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003537/0.1664, allocations: 1.971 MB / 399.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.1664, allocations: 55.84 kB / 399.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.1675, allocations: 0.8165 MB / 400.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.1676, allocations: 37.7 kB / 400.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.168, allocations: 0.5506 MB / 401.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.1682, allocations: 190.4 kB / 401.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1683, allocations: 106.1 kB / 401.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1685, allocations: 390.8 kB / 401.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.169, allocations: 300.9 kB / 402 MB, free: 3.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.1696, allocations: 395.4 kB / 402.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000976/0.1706, allocations: 0.7028 MB / 403.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1706, allocations: 0 / 403.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001432/0.172, allocations: 0.9207 MB / 404.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.172, allocations: 11.94 kB / 404.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1721, allocations: 0 / 404.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.1724, allocations: 113 kB / 404.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.1729, allocations: 123.8 kB / 404.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.1753, allocations: 2.364 MB / 406.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.1757, allocations: 32.05 kB / 406.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.1757, allocations: 31.97 kB / 406.7 MB, free: 14.86 MB / 350.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.0006527/0.1764, allocations: 453.5 kB / 407.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1765, allocations: 79.53 kB / 407.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.1767, allocations: 87.08 kB / 407.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.1767, allocations: 8 kB / 407.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.1767, allocations: 0 / 407.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.1767, allocations: 7.922 kB / 407.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.18, allocations: 2.02 MB / 409.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.18, allocations: 4 kB / 409.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.1804, allocations: 87.89 kB / 409.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/0.1806, allocations: 112.9 kB / 409.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.1807, allocations: 8 kB / 409.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/0.1831, allocations: 2.322 MB / 411.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/0.1832, allocations: 8.016 kB / 411.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.1849, allocations: 1.204 MB / 413.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.1852, allocations: 168.6 kB / 413.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.1853, allocations: 23.92 kB / 413.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.1857, allocations: 39.95 kB / 413.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.1858, allocations: 48.39 kB / 413.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.1858, allocations: 19.98 kB / 413.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000746/0.1866, allocations: 0.581 MB / 414 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1866, allocations: 0 / 414 MB, free: 7.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007722/0.1874, allocations: 212 kB / 414.2 MB, free: 7.117 MB / 350.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.0001641/0.1875, allocations: 115.1 kB / 414.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.1888, allocations: 0.8201 MB / 415.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1889, allocations: 0 / 415.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007182/0.1896, allocations: 0.4939 MB / 415.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008232/0.1904, allocations: 170.9 kB / 415.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.1937, allocations: 2.22 MB / 418 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009044/0.1946, allocations: 1.332 MB / 419.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.1951, allocations: 185.8 kB / 419.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.1952, allocations: 51.44 kB / 419.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of SimCode: time 1.153e-06/0.1952, allocations: 0 / 419.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of Templates: time 0.02112/0.2164, allocations: 10.58 MB / 430.1 MB, free: 7.031 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)