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.001703/0.001703, allocations: 103.4 kB / 15.33 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.001654/0.001654, allocations: 192.6 kB / 16.25 MB, free: 6.617 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.634/1.634, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.00137/0.00137, allocations: 47.92 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3179, allocations: 46.63 MB / 324.8 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.00601/0.324, allocations: 3.759 MB / 328.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.3269, allocations: 1.048 MB / 329.6 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003149/0.3272, allocations: 18.75 kB / 329.7 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004307/0.3277, allocations: 127.3 kB / 329.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009295/0.3286, allocations: 263.8 kB / 330.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.3289, allocations: 118.7 kB / 330.2 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.3306, allocations: 1.443 MB / 331.6 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.3323, allocations: 1.15 MB / 332.8 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.3335, allocations: 0.6425 MB / 333.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.335, allocations: 0.7901 MB / 334.2 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000215/0.3352, allocations: 160 kB / 334.3 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.3355, allocations: 156 kB / 334.5 MB, free: 10.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004088/0.3359, allocations: 474.7 kB / 335 MB, free: 9.926 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007678/0.3366, allocations: 0.735 MB / 335.7 MB, free: 9.188 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.3384, allocations: 2.046 MB / 337.7 MB, free: 7.137 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3384, allocations: 4 kB / 337.7 MB, free: 7.133 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3384, allocations: 4 kB / 337.8 MB, free: 7.129 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.3384, allocations: 0 / 337.8 MB, free: 7.129 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.003025/0.3415, allocations: 1.68 MB / 339.4 MB, free: 5.395 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3415, allocations: 12.03 kB / 339.4 MB, free: 5.383 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.3418, allocations: 139.3 kB / 339.6 MB, free: 5.246 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.343, allocations: 0.8189 MB / 340.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.3431, allocations: 86.56 kB / 340.5 MB, free: 4.297 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.3433, allocations: 115.9 kB / 340.6 MB, free: 4.184 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/0.3459, allocations: 1.568 MB / 342.2 MB, free: 2.57 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.3459, allocations: 0 / 342.2 MB, free: 2.57 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.346, allocations: 51.98 kB / 342.2 MB, free: 2.52 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.3461, allocations: 24 kB / 342.2 MB, free: 2.496 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.3481, allocations: 1.332 MB / 343.6 MB, free: 1.156 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006695/0.3548, allocations: 4.318 MB / 347.9 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.3561, allocations: 1.338 MB / 349.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008485/0.357, allocations: 0.5183 MB / 349.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.357, allocations: 12.44 kB / 349.8 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.3571, allocations: 35 kB / 349.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=51): time 3.206e-06/0.3571, allocations: 4 kB / 349.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.001527/0.3586, allocations: 0.8728 MB / 350.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.3587, allocations: 55.84 kB / 350.7 MB, free: 9.672 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.3599, allocations: 0.8244 MB / 351.5 MB, free: 8.836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/0.36, allocations: 37.7 kB / 351.6 MB, free: 8.793 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.3605, allocations: 0.5415 MB / 352.1 MB, free: 8.242 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.3607, allocations: 181.4 kB / 352.3 MB, free: 8.062 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.3608, allocations: 102.2 kB / 352.4 MB, free: 7.953 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.3611, allocations: 394.6 kB / 352.8 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.3615, allocations: 300.9 kB / 353.1 MB, free: 7.266 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.3621, allocations: 398.5 kB / 353.5 MB, free: 6.844 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000954/0.363, allocations: 0.6864 MB / 354.2 MB, free: 6.133 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.363, allocations: 4 kB / 354.2 MB, free: 6.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0014/0.3644, allocations: 0.818 MB / 355 MB, free: 5.301 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.3645, allocations: 7.938 kB / 355 MB, free: 5.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.3645, allocations: 7.984 kB / 355 MB, free: 5.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/0.3645, allocations: 8.281 kB / 355 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.3652, allocations: 151.8 kB / 355.2 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.3652, allocations: 4 kB / 355.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/0.3657, allocations: 71.33 kB / 355.2 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.3658, allocations: 20 kB / 355.2 MB, free: 5.035 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.0007375/0.3665, allocations: 465.4 kB / 355.7 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.3667, allocations: 71.16 kB / 355.8 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.3668, allocations: 91.08 kB / 355.9 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3669, allocations: 8 kB / 355.9 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.3669, allocations: 4 kB / 355.9 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.3669, allocations: 7.922 kB / 355.9 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.3699, allocations: 1.947 MB / 357.8 MB, free: 2.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.37, allocations: 4.031 kB / 357.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005035/0.3705, allocations: 115.9 kB / 357.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/0.3705, allocations: 4 kB / 357.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.3705, allocations: 8 kB / 358 MB, free: 2.234 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3705, allocations: 4 kB / 358 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3706, allocations: 4 kB / 358 MB, free: 2.227 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.3722, allocations: 1.125 MB / 359.1 MB, free: 1.074 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.3724, allocations: 172.2 kB / 359.3 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-05/0.3725, allocations: 12 kB / 359.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.373, allocations: 51.94 kB / 359.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.3731, allocations: 36.33 kB / 359.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.3731, allocations: 16 kB / 359.4 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009865/0.3741, allocations: 0.6004 MB / 360 MB, free: 180 kB / 286.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3741, allocations: 4 kB / 360 MB, free: 176 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008211/0.375, allocations: 282.7 kB / 360.2 MB, free: 15.89 MB / 302.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.0001709/0.3752, allocations: 111.2 kB / 360.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.3765, allocations: 0.7945 MB / 361.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.3765, allocations: 8.188 kB / 361.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.377, allocations: 322.2 kB / 361.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009024/0.3779, allocations: 190 kB / 361.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.3822, allocations: 2.775 MB / 364.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.3833, allocations: 1.34 MB / 365.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006199/0.3839, allocations: 209.8 kB / 366 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.3841, allocations: 51.44 kB / 366 MB, free: 10.02 MB / 302.1 MB Notification: Performance of SimCode: time 2.986e-06/0.3841, allocations: 0 / 366 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Templates: time 0.01921/0.4033, allocations: 9.882 MB / 375.9 MB, free: 128 kB / 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)