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.01367/0.01367, allocations: 103.5 kB / 15.73 MB, free: 6.492 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.001785/0.001786, allocations: 188.1 kB / 16.67 MB, free: 6.379 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.795/1.795, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001405/0.001405, allocations: 50.27 kB / 326.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1178, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.006411/0.1243, allocations: 3.727 MB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.1265, allocations: 1.005 MB / 377.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.1267, allocations: 19.88 kB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.1271, allocations: 146.8 kB / 378.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008681/0.128, allocations: 278.5 kB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.1283, allocations: 131.8 kB / 378.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.1296, allocations: 1.408 MB / 379.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.1308, allocations: 1.126 MB / 381 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007386/0.1316, allocations: 0.6308 MB / 381.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009394/0.1325, allocations: 0.7472 MB / 382.4 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.1327, allocations: 156 kB / 382.5 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.133, allocations: 156 kB / 382.7 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003764/0.1334, allocations: 454.8 kB / 383.1 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007857/0.1342, allocations: 0.7272 MB / 383.8 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.1361, allocations: 2.033 MB / 385.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1361, allocations: 3.938 kB / 385.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1362, allocations: 0 / 385.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.1362, allocations: 0 / 385.9 MB, free: 4.504 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.002851/0.139, allocations: 1.652 MB / 387.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1391, allocations: 11.97 kB / 387.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.1394, allocations: 143.2 kB / 387.7 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.1408, allocations: 0.815 MB / 388.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.1409, allocations: 90.28 kB / 388.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.141, allocations: 108 kB / 388.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.1434, allocations: 1.544 MB / 390.2 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.1435, allocations: 0 / 390.2 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.1436, allocations: 44.08 kB / 390.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.1436, allocations: 28 kB / 390.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.1457, allocations: 1.308 MB / 391.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006469/0.1522, allocations: 4.166 MB / 395.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.1535, allocations: 1.312 MB / 397.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/0.1542, allocations: 450.5 kB / 397.5 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.1543, allocations: 8.422 kB / 397.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/0.1543, allocations: 46.92 kB / 397.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.595e-06/0.1543, allocations: 0 / 397.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.00344/0.1578, allocations: 1.942 MB / 399.5 MB, free: 6.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1578, allocations: 63.84 kB / 399.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.1589, allocations: 0.8165 MB / 400.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.159, allocations: 33.7 kB / 400.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/0.1594, allocations: 0.5337 MB / 401 MB, free: 4.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.1595, allocations: 181.4 kB / 401.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.1597, allocations: 106.1 kB / 401.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002823/0.16, allocations: 390.8 kB / 401.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.1604, allocations: 300.9 kB / 401.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.161, allocations: 407.3 kB / 402.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009867/0.162, allocations: 0.6911 MB / 403 MB, free: 2.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.162, allocations: 0 / 403 MB, free: 2.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001461/0.1635, allocations: 0.9202 MB / 403.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.1635, allocations: 4 kB / 403.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.1635, allocations: 4 kB / 403.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/0.1638, allocations: 109.1 kB / 404.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.1644, allocations: 123.8 kB / 404.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.1671, allocations: 2.376 MB / 406.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.1675, allocations: 31.98 kB / 406.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.1676, allocations: 20 kB / 406.6 MB, free: 14.97 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.0007632/0.1683, allocations: 453.5 kB / 407 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.1685, allocations: 75.06 kB / 407.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.1686, allocations: 95.08 kB / 407.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1686, allocations: 7.938 kB / 407.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.1686, allocations: 0 / 407.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.1686, allocations: 11.92 kB / 407.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.172, allocations: 2.009 MB / 409.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.172, allocations: 0 / 409.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.1724, allocations: 91.83 kB / 409.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002344/0.1727, allocations: 104.8 kB / 409.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.1727, allocations: 15.98 kB / 409.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/0.175, allocations: 2.322 MB / 411.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.175, allocations: 3.938 kB / 411.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.1768, allocations: 1.212 MB / 413 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.1771, allocations: 164.2 kB / 413.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.618e-05/0.1771, allocations: 11.94 kB / 413.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.1775, allocations: 56 kB / 413.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.845e-05/0.1776, allocations: 40.33 kB / 413.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.1777, allocations: 15.98 kB / 413.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007431/0.1784, allocations: 0.5849 MB / 413.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1784, allocations: 0 / 413.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008117/0.1793, allocations: 212 kB / 414.1 MB, free: 7.23 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.0001739/0.1794, allocations: 115.1 kB / 414.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.1808, allocations: 0.8201 MB / 415 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1808, allocations: 4 kB / 415 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007871/0.1816, allocations: 0.4938 MB / 415.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008849/0.1825, allocations: 174.8 kB / 415.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.1859, allocations: 2.191 MB / 417.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009162/0.1869, allocations: 1.336 MB / 419.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004187/0.1873, allocations: 185.8 kB / 419.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.1874, allocations: 51.42 kB / 419.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1875, allocations: 0 / 419.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Templates: time 0.02049/0.2079, allocations: 10.71 MB / 430.1 MB, free: 7.027 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)