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.001428/0.001428, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001837/0.001837, allocations: 191.5 kB / 16.25 MB, free: 6.629 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.641/1.641, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001415/0.001415, allocations: 52.3 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3191, allocations: 46.63 MB / 324.8 MB, free: 2.004 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.006593/0.3258, allocations: 3.751 MB / 328.6 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004045/0.3299, allocations: 1.064 MB / 329.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000506/0.3305, allocations: 19.62 kB / 329.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.331, allocations: 118.3 kB / 329.8 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.3322, allocations: 260.8 kB / 330.1 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.3326, allocations: 123.2 kB / 330.2 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.3346, allocations: 1.442 MB / 331.6 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.336, allocations: 1.148 MB / 332.8 MB, free: 12.24 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009558/0.337, allocations: 0.6347 MB / 333.4 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.338, allocations: 0.794 MB / 334.2 MB, free: 10.81 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.3382, allocations: 160 kB / 334.3 MB, free: 10.65 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.3385, allocations: 160 kB / 334.5 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.3389, allocations: 466.7 kB / 335 MB, free: 10.04 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007181/0.3397, allocations: 0.7428 MB / 335.7 MB, free: 9.293 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.3413, allocations: 2.042 MB / 337.7 MB, free: 7.246 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3414, allocations: 4 kB / 337.7 MB, free: 7.242 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3414, allocations: 0 / 337.7 MB, free: 7.242 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.3414, allocations: 0 / 337.7 MB, free: 7.242 MB / 270.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.002728/0.3441, allocations: 1.684 MB / 339.4 MB, free: 5.504 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.3442, allocations: 8.031 kB / 339.4 MB, free: 5.496 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.3444, allocations: 139.3 kB / 339.6 MB, free: 5.359 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.3455, allocations: 0.8305 MB / 340.4 MB, free: 4.484 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.3456, allocations: 82.62 kB / 340.5 MB, free: 4.402 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.3458, allocations: 115.9 kB / 340.6 MB, free: 4.289 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/0.3481, allocations: 1.568 MB / 342.2 MB, free: 2.676 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.3482, allocations: 3.938 kB / 342.2 MB, free: 2.672 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3483, allocations: 48 kB / 342.2 MB, free: 2.625 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.3483, allocations: 28 kB / 342.2 MB, free: 2.598 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.3502, allocations: 1.324 MB / 343.6 MB, free: 1.266 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006158/0.3564, allocations: 4.318 MB / 347.9 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.3576, allocations: 1.331 MB / 349.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008776/0.3585, allocations: 0.53 MB / 349.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.3585, allocations: 8.438 kB / 349.8 MB, free: 10.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.3586, allocations: 42.94 kB / 349.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=51): time 3.036e-06/0.3586, allocations: 0 / 349.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.00144/0.36, allocations: 0.8689 MB / 350.7 MB, free: 9.848 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.3601, allocations: 59.84 kB / 350.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.3611, allocations: 0.8205 MB / 351.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.3612, allocations: 33.7 kB / 351.6 MB, free: 8.906 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.3615, allocations: 0.5454 MB / 352.1 MB, free: 8.352 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.3617, allocations: 181.4 kB / 352.3 MB, free: 8.172 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.3618, allocations: 102.2 kB / 352.4 MB, free: 8.062 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.362, allocations: 386.7 kB / 352.8 MB, free: 7.676 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.3625, allocations: 308.8 kB / 353.1 MB, free: 7.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/0.363, allocations: 402.5 kB / 353.5 MB, free: 6.949 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009511/0.3639, allocations: 0.6864 MB / 354.2 MB, free: 6.238 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3639, allocations: 0 / 354.2 MB, free: 6.238 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001236/0.3652, allocations: 0.822 MB / 355 MB, free: 5.406 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3652, allocations: 4 kB / 355 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3652, allocations: 4 kB / 355 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3653, allocations: 8.281 kB / 355 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.3659, allocations: 147.8 kB / 355.1 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.3659, allocations: 11.94 kB / 355.2 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.3663, allocations: 67.34 kB / 355.2 MB, free: 5.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.3663, allocations: 16 kB / 355.2 MB, free: 5.152 MB / 286.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.0006392/0.367, allocations: 461.4 kB / 355.7 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.3671, allocations: 71.16 kB / 355.8 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.3673, allocations: 99.02 kB / 355.9 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3673, allocations: 4 kB / 355.9 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.3673, allocations: 0 / 355.9 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3673, allocations: 7.922 kB / 355.9 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/0.3703, allocations: 1.951 MB / 357.8 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3704, allocations: 4.031 kB / 357.8 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/0.3709, allocations: 123.8 kB / 357.9 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.3709, allocations: 4 kB / 357.9 MB, free: 2.352 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.3709, allocations: 12 kB / 358 MB, free: 2.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.371, allocations: 7.984 kB / 358 MB, free: 2.332 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.371, allocations: 0 / 358 MB, free: 2.332 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.3725, allocations: 1.125 MB / 359.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.3726, allocations: 168.2 kB / 359.3 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-05/0.3727, allocations: 20 kB / 359.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.3731, allocations: 43.95 kB / 359.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.3733, allocations: 44.31 kB / 359.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.3733, allocations: 16 kB / 359.4 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006656/0.374, allocations: 0.5849 MB / 360 MB, free: 300 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.374, allocations: 4 kB / 360 MB, free: 296 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007071/0.3747, allocations: 286.7 kB / 360.2 MB, free: 8 kB / 286.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.0001651/0.3749, allocations: 115.1 kB / 360.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.3761, allocations: 0.8024 MB / 361.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3762, allocations: 4.188 kB / 361.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.3766, allocations: 326.2 kB / 361.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009094/0.3775, allocations: 178 kB / 361.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.3814, allocations: 2.783 MB / 364.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009231/0.3823, allocations: 1.332 MB / 365.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004518/0.3828, allocations: 201.8 kB / 366 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.383, allocations: 55.44 kB / 366 MB, free: 10.14 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.383, allocations: 0 / 366 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Templates: time 0.01817/0.4011, allocations: 9.898 MB / 375.9 MB, free: 232 kB / 302.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)