Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001108/0.001109, allocations: 87.7 kB / 16.31 MB, free: 6.453 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.001136/0.001136, allocations: 180.8 kB / 17.21 MB, free: 6.328 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.771/1.771, allocations: 205.4 MB / 223.4 MB, free: 5.578 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.0004762/0.0004764, allocations: 10.81 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3059, allocations: 47.58 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.00352/0.3094, allocations: 3.201 MB / 330.9 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3115, allocations: 1.015 MB / 331.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.3118, allocations: 18.78 kB / 331.9 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.3121, allocations: 117.9 kB / 332.1 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007512/0.3128, allocations: 262 kB / 332.3 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.3131, allocations: 91 kB / 332.4 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001632/0.3147, allocations: 1.525 MB / 333.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.3158, allocations: 0.7557 MB / 334.7 MB, free: 12.42 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007743/0.3166, allocations: 492.8 kB / 335.2 MB, free: 12.03 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008428/0.3174, allocations: 0.6382 MB / 335.8 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.3175, allocations: 76 kB / 335.9 MB, free: 11.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.3177, allocations: 75.94 kB / 336 MB, free: 11.24 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.318, allocations: 362.8 kB / 336.3 MB, free: 10.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.3183, allocations: 277 kB / 336.6 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.3197, allocations: 1.645 MB / 338.2 MB, free: 8.957 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3197, allocations: 0 / 338.2 MB, free: 8.957 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3198, allocations: 0 / 338.2 MB, free: 8.957 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.3198, allocations: 0 / 338.2 MB, free: 8.957 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.002414/0.3222, allocations: 1.477 MB / 339.7 MB, free: 7.426 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3223, allocations: 12.03 kB / 339.7 MB, free: 7.414 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.3225, allocations: 142.3 kB / 339.9 MB, free: 7.273 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3236, allocations: 0.8025 MB / 340.7 MB, free: 6.43 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-05/0.3237, allocations: 82.25 kB / 340.7 MB, free: 6.348 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.3239, allocations: 108 kB / 340.8 MB, free: 6.242 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.3264, allocations: 1.576 MB / 342.4 MB, free: 4.621 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.3264, allocations: 0 / 342.4 MB, free: 4.621 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.3265, allocations: 51.98 kB / 342.5 MB, free: 4.57 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.3266, allocations: 28 kB / 342.5 MB, free: 4.543 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.3286, allocations: 1.332 MB / 343.8 MB, free: 3.203 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006548/0.3352, allocations: 4.35 MB / 348.2 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.3366, allocations: 1.35 MB / 349.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008957/0.3375, allocations: 0.5457 MB / 350.1 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.3375, allocations: 4.438 kB / 350.1 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.3376, allocations: 42.98 kB / 350.1 MB, free: 12.6 MB / 286.1 MB Notification: Performance of pre-optimization done (n=51): time 3.376e-06/0.3376, allocations: 3.938 kB / 350.1 MB, free: 12.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.001544/0.3391, allocations: 0.8846 MB / 351 MB, free: 11.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.3392, allocations: 63.8 kB / 351.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.3403, allocations: 0.8205 MB / 351.9 MB, free: 10.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.3404, allocations: 29.7 kB / 351.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.3409, allocations: 0.5569 MB / 352.5 MB, free: 10.2 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.341, allocations: 177.4 kB / 352.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.3411, allocations: 12 kB / 352.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3413, allocations: 382.8 kB / 353 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.3417, allocations: 312.9 kB / 353.3 MB, free: 9.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/0.3423, allocations: 398.5 kB / 353.7 MB, free: 8.898 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/0.3428, allocations: 362 kB / 354.1 MB, free: 8.547 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3428, allocations: 8 kB / 354.1 MB, free: 8.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001257/0.3441, allocations: 0.8261 MB / 354.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3441, allocations: 7.938 kB / 354.9 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.3441, allocations: 4 kB / 354.9 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.3442, allocations: 4 kB / 354.9 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.3448, allocations: 151.8 kB / 355.1 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.3448, allocations: 11.89 kB / 355.1 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.3452, allocations: 63.56 kB / 355.2 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.3452, allocations: 27.98 kB / 355.2 MB, free: 7.441 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.0007168/0.346, allocations: 457.2 kB / 355.6 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3461, allocations: 83.05 kB / 355.7 MB, free: 6.902 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.3463, allocations: 87.08 kB / 355.8 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3463, allocations: 4 kB / 355.8 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/0.3463, allocations: 0 / 355.8 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3463, allocations: 11.94 kB / 355.8 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.3492, allocations: 1.958 MB / 357.8 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3492, allocations: 4.156 kB / 357.8 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.3497, allocations: 119.9 kB / 357.9 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.3498, allocations: 7.984 kB / 357.9 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.3498, allocations: 12 kB / 357.9 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3498, allocations: 4 kB / 357.9 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3498, allocations: 0 / 357.9 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.3514, allocations: 1.145 MB / 359.1 MB, free: 3.441 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.3516, allocations: 168.2 kB / 359.2 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-05/0.3517, allocations: 19.94 kB / 359.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.3521, allocations: 59.94 kB / 359.3 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3522, allocations: 36.39 kB / 359.3 MB, free: 3.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.3522, allocations: 16 kB / 359.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007675/0.353, allocations: 0.5849 MB / 359.9 MB, free: 2.551 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.963e-06/0.353, allocations: 0 / 359.9 MB, free: 2.551 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007497/0.3538, allocations: 286.7 kB / 360.2 MB, free: 2.27 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.0001624/0.3539, allocations: 119.1 kB / 360.3 MB, free: 2.141 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.355, allocations: 0.6538 MB / 361 MB, free: 1.484 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.355, allocations: 0 / 361 MB, free: 1.484 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.3555, allocations: 334.1 kB / 361.3 MB, free: 1.156 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.3563, allocations: 171.5 kB / 361.5 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.3601, allocations: 2.728 MB / 364.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008576/0.361, allocations: 1.336 MB / 365.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005076/0.3615, allocations: 201.8 kB / 365.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.3617, allocations: 55.44 kB / 365.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3617, allocations: 0 / 365.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01709/0.3788, allocations: 9.167 MB / 375 MB, free: 3.414 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)