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.008196/0.008196, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001725/0.001725, allocations: 194.3 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.8/1.8, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.001592/0.001593, allocations: 50.92 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1333, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005594/0.139, allocations: 3.716 MB / 376.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1412, allocations: 1.064 MB / 377.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.1414, allocations: 15.94 kB / 378 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.1418, allocations: 154.8 kB / 378.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006941/0.1425, allocations: 294.4 kB / 378.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.1427, allocations: 131.8 kB / 378.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.1441, allocations: 1.451 MB / 380 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.1452, allocations: 1.153 MB / 381.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000684/0.1459, allocations: 0.6386 MB / 381.8 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009344/0.1469, allocations: 0.7705 MB / 382.5 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.1471, allocations: 160 kB / 382.7 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.1473, allocations: 160 kB / 382.9 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00042/0.1478, allocations: 470.7 kB / 383.3 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007795/0.1486, allocations: 0.7389 MB / 384 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.1504, allocations: 2.064 MB / 386.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1504, allocations: 0 / 386.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1504, allocations: 4 kB / 386.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.1504, allocations: 0 / 386.1 MB, free: 4.289 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.002868/0.1533, allocations: 1.668 MB / 387.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1533, allocations: 12.03 kB / 387.8 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.1536, allocations: 143.2 kB / 387.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.1551, allocations: 0.8267 MB / 388.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/0.1552, allocations: 94.36 kB / 388.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.1554, allocations: 108 kB / 389 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.1578, allocations: 1.564 MB / 390.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.1579, allocations: 7.938 kB / 390.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.158, allocations: 44 kB / 390.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.158, allocations: 28 kB / 390.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.1601, allocations: 1.328 MB / 391.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006684/0.1668, allocations: 4.267 MB / 396.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.1681, allocations: 1.334 MB / 397.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008519/0.169, allocations: 0.5222 MB / 398.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.169, allocations: 8.438 kB / 398.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.1691, allocations: 39 kB / 398.1 MB, free: 7.836 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 4.238e-06/0.1691, allocations: 0 / 398.1 MB, free: 7.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.001509/0.1706, allocations: 0.8806 MB / 399 MB, free: 6.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.1707, allocations: 55.84 kB / 399 MB, free: 6.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.1718, allocations: 0.8281 MB / 399.9 MB, free: 6.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.1719, allocations: 37.7 kB / 399.9 MB, free: 6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/0.1723, allocations: 0.5376 MB / 400.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.1725, allocations: 177.5 kB / 400.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.1727, allocations: 102.2 kB / 400.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002473/0.1729, allocations: 386.8 kB / 401.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/0.1734, allocations: 300.9 kB / 401.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.174, allocations: 394.5 kB / 401.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.175, allocations: 0.6942 MB / 402.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.175, allocations: 0 / 402.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00128/0.1763, allocations: 0.8221 MB / 403.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.1764, allocations: 4 kB / 403.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1764, allocations: 4 kB / 403.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.1764, allocations: 4 kB / 403.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.177, allocations: 151.8 kB / 403.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.1771, allocations: 7.984 kB / 403.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.1775, allocations: 71.33 kB / 403.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.1775, allocations: 23.98 kB / 403.5 MB, free: 2.258 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.0007089/0.1783, allocations: 461.5 kB / 404 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.1784, allocations: 75.06 kB / 404.1 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.1786, allocations: 91.06 kB / 404.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.1786, allocations: 8 kB / 404.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.1786, allocations: 0 / 404.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1786, allocations: 3.938 kB / 404.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.1818, allocations: 1.934 MB / 406.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1818, allocations: 0 / 406.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.1823, allocations: 124 kB / 406.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1824, allocations: 0 / 406.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.1824, allocations: 12 kB / 406.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.1824, allocations: 7.922 kB / 406.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1824, allocations: 4 kB / 406.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.1839, allocations: 1.126 MB / 407.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.1841, allocations: 172.2 kB / 407.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.048e-05/0.1842, allocations: 11.98 kB / 407.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.1846, allocations: 55.89 kB / 407.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.1847, allocations: 48.25 kB / 407.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.1848, allocations: 16 kB / 407.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008726/0.1856, allocations: 0.5888 MB / 408.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1857, allocations: 0 / 408.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009233/0.1866, allocations: 290.8 kB / 408.5 MB, free: 13.12 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.0002517/0.1868, allocations: 107.2 kB / 408.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.1881, allocations: 0.6536 MB / 409.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.1882, allocations: 0.5625 kB / 409.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004858/0.1887, allocations: 326.2 kB / 409.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009985/0.1897, allocations: 183 kB / 409.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/0.194, allocations: 2.281 MB / 412.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009721/0.195, allocations: 1.336 MB / 413.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006167/0.1956, allocations: 209.8 kB / 413.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.1958, allocations: 51.44 kB / 413.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of SimCode: time 1.413e-06/0.1958, allocations: 0 / 413.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of Templates: time 0.0209/0.2167, allocations: 10.28 MB / 424 MB, free: 13.61 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)