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.001005/0.001004, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001037/0.001037, allocations: 177.3 kB / 15.95 MB, free: 216 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.757/1.757, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004821/0.0004823, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2717, allocations: 47.59 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004365/0.2761, allocations: 3.012 MB / 329.5 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.2787, allocations: 1.042 MB / 330.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000661/0.2794, allocations: 18.81 kB / 330.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.28, allocations: 130.6 kB / 330.6 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.2813, allocations: 222.8 kB / 330.9 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.2817, allocations: 90.62 kB / 330.9 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.2833, allocations: 0.8913 MB / 331.8 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.2847, allocations: 0.7591 MB / 332.6 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.2858, allocations: 462 kB / 333 MB, free: 12.67 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.2872, allocations: 0.5351 MB / 333.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004458/0.2877, allocations: 78.34 kB / 333.7 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007323/0.2884, allocations: 76 kB / 333.7 MB, free: 12.19 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000599/0.289, allocations: 347 kB / 334.1 MB, free: 11.85 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008331/0.2899, allocations: 273 kB / 334.3 MB, free: 11.58 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.2921, allocations: 1.641 MB / 336 MB, free: 9.934 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2921, allocations: 0 / 336 MB, free: 9.934 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2921, allocations: 0 / 336 MB, free: 9.934 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.844e-05/0.2922, allocations: 4 kB / 336 MB, free: 9.93 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.002799/0.295, allocations: 1.481 MB / 337.5 MB, free: 8.395 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.295, allocations: 12.03 kB / 337.5 MB, free: 8.383 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.2953, allocations: 142.3 kB / 337.6 MB, free: 8.242 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.2967, allocations: 0.7986 MB / 338.4 MB, free: 7.402 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/0.2967, allocations: 82.25 kB / 338.5 MB, free: 7.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.2969, allocations: 108 kB / 338.6 MB, free: 7.215 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/0.2995, allocations: 1.557 MB / 340.2 MB, free: 5.613 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.2995, allocations: 3.984 kB / 340.2 MB, free: 5.609 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.2996, allocations: 44 kB / 340.2 MB, free: 5.566 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.2997, allocations: 28 kB / 340.2 MB, free: 5.539 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.3018, allocations: 1.34 MB / 341.6 MB, free: 4.191 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007185/0.309, allocations: 4.353 MB / 345.9 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.3103, allocations: 1.346 MB / 347.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.3103, allocations: 4.438 kB / 347.3 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3104, allocations: 39 kB / 347.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=51): time 2.284e-06/0.3104, allocations: 0 / 347.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.001454/0.3118, allocations: 0.912 MB / 348.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3119, allocations: 63.8 kB / 348.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009808/0.3129, allocations: 0.8127 MB / 349.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.3129, allocations: 33.7 kB / 349.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.3133, allocations: 0.5453 MB / 349.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.3135, allocations: 181.3 kB / 349.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.3135, allocations: 8 kB / 349.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.3137, allocations: 390.8 kB / 350.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.3142, allocations: 308.9 kB / 350.5 MB, free: 10.85 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.3149, allocations: 410.5 kB / 350.9 MB, free: 10.42 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006349/0.3155, allocations: 373.9 kB / 351.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3156, allocations: 0 / 351.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001426/0.317, allocations: 0.8417 MB / 352.2 MB, free: 9.207 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.317, allocations: 4 kB / 352.2 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.3171, allocations: 4 kB / 352.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/0.3171, allocations: 7.938 kB / 352.2 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/0.3178, allocations: 155.8 kB / 352.3 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.3178, allocations: 4 kB / 352.3 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.3182, allocations: 71.55 kB / 352.4 MB, free: 8.965 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.3183, allocations: 20 kB / 352.4 MB, free: 8.945 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.0007163/0.319, allocations: 461.4 kB / 352.9 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.3191, allocations: 75.06 kB / 352.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.3193, allocations: 95.08 kB / 353 MB, free: 8.312 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.3193, allocations: 8 kB / 353 MB, free: 8.305 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3193, allocations: 0 / 353 MB, free: 8.305 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3193, allocations: 3.984 kB / 353 MB, free: 8.301 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.3223, allocations: 1.969 MB / 355 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3223, allocations: 0 / 355 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/0.3228, allocations: 127.9 kB / 355.1 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.3229, allocations: 4 kB / 355.1 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.3229, allocations: 11.94 kB / 355.2 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.3229, allocations: 4 kB / 355.2 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3229, allocations: 0 / 355.2 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.3244, allocations: 1.182 MB / 356.3 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.3246, allocations: 168.1 kB / 356.5 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.3247, allocations: 12 kB / 356.5 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.3251, allocations: 55.94 kB / 356.6 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3252, allocations: 48.28 kB / 356.6 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.3253, allocations: 8 kB / 356.6 MB, free: 4.586 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007214/0.326, allocations: 0.5888 MB / 357.2 MB, free: 4.004 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.326, allocations: 0 / 357.2 MB, free: 4.004 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008052/0.3268, allocations: 282.8 kB / 357.5 MB, free: 3.727 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (51): * Single equations (assignments): 51 * 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.0001714/0.327, allocations: 123.1 kB / 357.6 MB, free: 3.594 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.328, allocations: 0.6655 MB / 358.3 MB, free: 2.922 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3281, allocations: 0 / 358.3 MB, free: 2.922 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.3286, allocations: 326.2 kB / 358.6 MB, free: 2.602 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.3293, allocations: 159.4 kB / 358.8 MB, free: 2.445 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/0.3338, allocations: 2.731 MB / 361.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.3349, allocations: 1.367 MB / 362.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005659/0.3355, allocations: 205.8 kB / 363 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.3357, allocations: 51.44 kB / 363.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3358, allocations: 0 / 363.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of Templates: time 0.01752/0.3533, allocations: 9.123 MB / 372.2 MB, free: 4.891 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: