Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.01462/0.01462, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.003157/0.003157, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.836/1.836, allocations: 205.1 MB / 222.6 MB, free: 4.469 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.001382/0.001382, allocations: 51.42 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1394, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005662/0.1451, allocations: 3.712 MB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.1476, allocations: 1.009 MB / 377.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.1479, allocations: 19.94 kB / 377.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.1483, allocations: 142.8 kB / 378 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009552/0.1493, allocations: 282.5 kB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1497, allocations: 139.8 kB / 378.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.1513, allocations: 1.408 MB / 379.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.1529, allocations: 1.122 MB / 381 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.154, allocations: 0.6152 MB / 381.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.1554, allocations: 0.755 MB / 382.4 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.1556, allocations: 156 kB / 382.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.156, allocations: 156 kB / 382.7 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005572/0.1565, allocations: 462.7 kB / 383.1 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.1576, allocations: 0.7272 MB / 383.8 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.1604, allocations: 2.04 MB / 385.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.1604, allocations: 4 kB / 385.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1604, allocations: 0 / 385.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.757e-05/0.1604, allocations: 0 / 385.9 MB, free: 4.496 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.00399/0.1644, allocations: 1.69 MB / 387.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/0.1645, allocations: 8.031 kB / 387.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.1649, allocations: 152 kB / 387.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.1666, allocations: 0.8195 MB / 388.6 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.1667, allocations: 86.34 kB / 388.6 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.1669, allocations: 104 kB / 388.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.1703, allocations: 1.552 MB / 390.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.1704, allocations: 0 / 390.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.1705, allocations: 48 kB / 390.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.137e-05/0.1706, allocations: 24 kB / 390.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.173, allocations: 1.308 MB / 391.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007519/0.1805, allocations: 4.183 MB / 395.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.1818, allocations: 1.307 MB / 397.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007874/0.1826, allocations: 458.5 kB / 397.6 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.1827, allocations: 8.438 kB / 397.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.1828, allocations: 35 kB / 397.6 MB, free: 8.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.424e-06/0.1828, allocations: 4 kB / 397.7 MB, free: 8.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.004071/0.1868, allocations: 1.956 MB / 399.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1869, allocations: 59.78 kB / 399.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.1882, allocations: 0.8204 MB / 400.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.1882, allocations: 37.7 kB / 400.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.1887, allocations: 0.5544 MB / 401.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.1889, allocations: 186.4 kB / 401.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.1891, allocations: 110.2 kB / 401.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.1893, allocations: 382.8 kB / 401.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.1898, allocations: 304.9 kB / 402 MB, free: 3.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.1903, allocations: 395.4 kB / 402.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.1914, allocations: 0.7028 MB / 403.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1914, allocations: 4 kB / 403.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001517/0.1929, allocations: 0.9129 MB / 404 MB, free: 1.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.193, allocations: 8 kB / 404.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.193, allocations: 4 kB / 404.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.1934, allocations: 117 kB / 404.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.194, allocations: 123.9 kB / 404.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.1966, allocations: 2.368 MB / 406.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.1971, allocations: 31.91 kB / 406.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.1971, allocations: 24.06 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.0008344/0.198, allocations: 461.4 kB / 407.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.1981, allocations: 79.53 kB / 407.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.1983, allocations: 87.08 kB / 407.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1983, allocations: 4 kB / 407.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.1983, allocations: 4 kB / 407.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.1983, allocations: 7.922 kB / 407.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/0.2017, allocations: 2.013 MB / 409.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2017, allocations: 4 kB / 409.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.2021, allocations: 87.88 kB / 409.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002508/0.2024, allocations: 108.9 kB / 409.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.2024, allocations: 19.98 kB / 409.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.2047, allocations: 2.318 MB / 411.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.2048, allocations: 8.062 kB / 411.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.2068, allocations: 1.208 MB / 413.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.2071, allocations: 164.6 kB / 413.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/0.2072, allocations: 12 kB / 413.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.2077, allocations: 47.95 kB / 413.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.2078, allocations: 52.31 kB / 413.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.2079, allocations: 16 kB / 413.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009264/0.2088, allocations: 0.5888 MB / 414 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.2088, allocations: 0 / 414 MB, free: 7.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009886/0.2098, allocations: 208 kB / 414.2 MB, free: 7.109 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.0002482/0.2101, allocations: 115.1 kB / 414.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.2117, allocations: 0.8202 MB / 415.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2117, allocations: 0 / 415.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008363/0.2125, allocations: 0.4938 MB / 415.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009273/0.2135, allocations: 178.9 kB / 415.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.2173, allocations: 2.216 MB / 418 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009763/0.2183, allocations: 1.344 MB / 419.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004967/0.2188, allocations: 177.8 kB / 419.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.219, allocations: 55.42 kB / 419.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of SimCode: time 1.993e-06/0.219, allocations: 0 / 419.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of Templates: time 0.02224/0.2412, allocations: 10.57 MB / 430.1 MB, free: 7.016 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)