Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001176/0.001176, allocations: 86.02 kB / 15.06 MB, free: 1.09 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.001208/0.001207, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004609/0.0004611, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2982, allocations: 47.6 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003699/0.302, allocations: 3.193 MB / 329.7 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.3046, allocations: 1.016 MB / 330.7 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003511/0.3049, allocations: 13.69 kB / 330.7 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.3053, allocations: 118.3 kB / 330.8 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007553/0.306, allocations: 254.2 kB / 331.1 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.3062, allocations: 90.81 kB / 331.2 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.3079, allocations: 1.529 MB / 332.7 MB, free: 12.78 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.3091, allocations: 0.7678 MB / 333.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009372/0.3101, allocations: 488.1 kB / 333.9 MB, free: 12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008825/0.311, allocations: 0.6459 MB / 334.6 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.3111, allocations: 76 kB / 334.6 MB, free: 11.28 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.3113, allocations: 76 kB / 334.7 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.3116, allocations: 350.9 kB / 335.1 MB, free: 10.86 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.3118, allocations: 277 kB / 335.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.3134, allocations: 1.645 MB / 337 MB, free: 8.938 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3134, allocations: 0 / 337 MB, free: 8.938 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3134, allocations: 0 / 337 MB, free: 8.938 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.3134, allocations: 4 kB / 337 MB, free: 8.934 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.002495/0.3159, allocations: 1.477 MB / 338.5 MB, free: 7.402 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.316, allocations: 8.031 kB / 338.5 MB, free: 7.395 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.3162, allocations: 142.3 kB / 338.6 MB, free: 7.254 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.3174, allocations: 0.8064 MB / 339.4 MB, free: 6.406 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.245e-05/0.3175, allocations: 82.25 kB / 339.5 MB, free: 6.324 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.3177, allocations: 108 kB / 339.6 MB, free: 6.219 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.3203, allocations: 1.564 MB / 341.2 MB, free: 4.609 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.3203, allocations: 0 / 341.2 MB, free: 4.609 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.3204, allocations: 48 kB / 341.2 MB, free: 4.562 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.3204, allocations: 28 kB / 341.2 MB, free: 4.535 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.3225, allocations: 1.332 MB / 342.6 MB, free: 3.195 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006707/0.3292, allocations: 4.361 MB / 346.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.3307, allocations: 1.354 MB / 348.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008722/0.3316, allocations: 0.5496 MB / 348.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.3316, allocations: 4.438 kB / 348.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.3317, allocations: 39 kB / 348.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of pre-optimization done (n=51): time 2.545e-06/0.3317, allocations: 4 kB / 348.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.001473/0.3331, allocations: 0.8847 MB / 349.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.3332, allocations: 67.73 kB / 349.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.3343, allocations: 0.8166 MB / 350.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.3343, allocations: 29.7 kB / 350.7 MB, free: 10.74 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.3347, allocations: 0.5492 MB / 351.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.3348, allocations: 177.4 kB / 351.4 MB, free: 10 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.3349, allocations: 12 kB / 351.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3351, allocations: 378.8 kB / 351.8 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.3355, allocations: 312.9 kB / 352.1 MB, free: 9.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.336, allocations: 398.5 kB / 352.5 MB, free: 8.887 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.3366, allocations: 365.9 kB / 352.8 MB, free: 8.531 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3366, allocations: 4 kB / 352.8 MB, free: 8.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001184/0.3378, allocations: 0.83 MB / 353.7 MB, free: 7.691 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3378, allocations: 4 kB / 353.7 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3378, allocations: 4 kB / 353.7 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.3378, allocations: 4 kB / 353.7 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/0.3384, allocations: 151.8 kB / 353.8 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.3384, allocations: 7.953 kB / 353.8 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.3388, allocations: 67.59 kB / 353.9 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.3389, allocations: 20 kB / 353.9 MB, free: 7.438 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00062/0.3395, allocations: 461.2 kB / 354.4 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.3396, allocations: 83 kB / 354.5 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.3398, allocations: 87.08 kB / 354.5 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3398, allocations: 4 kB / 354.5 MB, free: 6.801 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3398, allocations: 0 / 354.5 MB, free: 6.801 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3398, allocations: 15.94 kB / 354.6 MB, free: 6.785 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.3426, allocations: 1.962 MB / 356.5 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3426, allocations: 0 / 356.5 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.3431, allocations: 119.9 kB / 356.6 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3431, allocations: 7.938 kB / 356.6 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.3431, allocations: 15.98 kB / 356.7 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3431, allocations: 4 kB / 356.7 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3431, allocations: 4 kB / 356.7 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.3446, allocations: 1.145 MB / 357.8 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.3447, allocations: 168.2 kB / 358 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.515e-05/0.3448, allocations: 15.94 kB / 358 MB, free: 3.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.3452, allocations: 55.95 kB / 358 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.3453, allocations: 40.38 kB / 358.1 MB, free: 3.129 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.3453, allocations: 16 kB / 358.1 MB, free: 3.113 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006833/0.346, allocations: 0.581 MB / 358.7 MB, free: 2.539 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.346, allocations: 4 kB / 358.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006901/0.3467, allocations: 282.8 kB / 359 MB, free: 2.258 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001565/0.3469, allocations: 119.1 kB / 359.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009839/0.3479, allocations: 0.6538 MB / 359.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3479, allocations: 0 / 359.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.3483, allocations: 330.9 kB / 360.1 MB, free: 1.148 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/0.3492, allocations: 174.9 kB / 360.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.3529, allocations: 2.728 MB / 363 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008859/0.3538, allocations: 1.34 MB / 364.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004783/0.3543, allocations: 205.8 kB / 364.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.3545, allocations: 51.44 kB / 364.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3545, allocations: 0 / 364.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of Templates: time 0.01719/0.3717, allocations: 9.17 MB / 373.7 MB, free: 3.395 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)