Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.01158/0.01158, allocations: 101 kB / 15.73 MB, free: 6.004 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.002136/0.002136, allocations: 195.9 kB / 16.68 MB, free: 5.926 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.596/1.596, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.001245/0.001245, allocations: 50.36 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1319, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005754/0.1377, allocations: 3.719 MB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.1401, allocations: 1.072 MB / 378 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.1404, allocations: 15.94 kB / 378 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004353/0.1409, allocations: 150.8 kB / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.1419, allocations: 294.4 kB / 378.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.1422, allocations: 139.8 kB / 378.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.1436, allocations: 1.451 MB / 380 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.1449, allocations: 1.157 MB / 381.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007143/0.1456, allocations: 0.6425 MB / 381.8 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009682/0.1466, allocations: 0.7667 MB / 382.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.1468, allocations: 156 kB / 382.7 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.147, allocations: 160 kB / 382.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000436/0.1474, allocations: 466.8 kB / 383.3 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007656/0.1482, allocations: 0.7389 MB / 384.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.1501, allocations: 2.068 MB / 386.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1502, allocations: 3.938 kB / 386.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1502, allocations: 0 / 386.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.1502, allocations: 0 / 386.1 MB, free: 4.25 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.002938/0.1531, allocations: 1.672 MB / 387.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1532, allocations: 8.031 kB / 387.8 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.1534, allocations: 143.2 kB / 388 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.1546, allocations: 0.8267 MB / 388.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.48e-05/0.1547, allocations: 86.38 kB / 388.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.1548, allocations: 112 kB / 389 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.1573, allocations: 1.568 MB / 390.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.1573, allocations: 0 / 390.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.1574, allocations: 44 kB / 390.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.1575, allocations: 28 kB / 390.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/0.1597, allocations: 1.332 MB / 391.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006919/0.1666, allocations: 4.279 MB / 396.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.1681, allocations: 1.329 MB / 397.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009501/0.1691, allocations: 0.5222 MB / 398.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.1692, allocations: 8.438 kB / 398.1 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/0.1692, allocations: 39 kB / 398.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 7.444e-06/0.1692, allocations: 0 / 398.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.001516/0.1708, allocations: 0.869 MB / 399 MB, free: 6.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.1709, allocations: 63.84 kB / 399.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.172, allocations: 0.8281 MB / 399.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/0.172, allocations: 33.7 kB / 399.9 MB, free: 5.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.1725, allocations: 0.5453 MB / 400.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.1726, allocations: 177.5 kB / 400.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.1728, allocations: 102.2 kB / 400.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002477/0.1731, allocations: 386.8 kB / 401.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.1735, allocations: 300.9 kB / 401.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.1742, allocations: 394.5 kB / 401.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.1753, allocations: 0.6942 MB / 402.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1753, allocations: 0 / 402.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001505/0.1768, allocations: 0.818 MB / 403.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.1769, allocations: 4 kB / 403.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.1769, allocations: 4.281 kB / 403.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.1769, allocations: 11.98 kB / 403.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.1776, allocations: 147.8 kB / 403.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.1776, allocations: 4 kB / 403.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.1781, allocations: 71.38 kB / 403.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.1781, allocations: 20 kB / 403.6 MB, free: 2.223 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.0007576/0.1789, allocations: 458.4 kB / 404 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.179, allocations: 75.06 kB / 404.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.1792, allocations: 103.1 kB / 404.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.1793, allocations: 4 kB / 404.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.1793, allocations: 0 / 404.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.1793, allocations: 7.922 kB / 404.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.1825, allocations: 1.934 MB / 406.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1826, allocations: 0 / 406.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.1831, allocations: 111.9 kB / 406.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.1831, allocations: 4 kB / 406.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.1831, allocations: 24.08 kB / 406.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.1831, allocations: 4 kB / 406.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1832, allocations: 0 / 406.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.1848, allocations: 1.13 MB / 407.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.185, allocations: 168.2 kB / 407.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.1851, allocations: 16 kB / 407.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.1856, allocations: 51.89 kB / 407.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.1857, allocations: 48.25 kB / 407.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.1858, allocations: 16 kB / 407.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009008/0.1867, allocations: 0.5888 MB / 408.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1867, allocations: 0 / 408.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008839/0.1876, allocations: 282.8 kB / 408.6 MB, free: 13.09 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.0002391/0.1878, allocations: 111.2 kB / 408.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.1889, allocations: 0.6575 MB / 409.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1889, allocations: 0 / 409.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.1894, allocations: 327.1 kB / 409.6 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.1903, allocations: 178.8 kB / 409.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.1944, allocations: 2.274 MB / 412.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.1957, allocations: 1.34 MB / 413.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004699/0.1962, allocations: 209.8 kB / 413.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.1964, allocations: 51.44 kB / 413.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1964, allocations: 0 / 413.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of Templates: time 0.02238/0.2188, allocations: 10.14 MB / 423.8 MB, free: 13.71 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)