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.001205/0.001205, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.5/1.5, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001212/0.001212, allocations: 59.91 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2676, allocations: 46.63 MB / 325.3 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.00593/0.2736, allocations: 3.728 MB / 329 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.2762, allocations: 1.06 MB / 330.1 MB, free: 14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.2765, allocations: 21 kB / 330.1 MB, free: 14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.277, allocations: 147.4 kB / 330.3 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009055/0.2779, allocations: 286.8 kB / 330.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.2782, allocations: 142.3 kB / 330.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.2798, allocations: 1.447 MB / 332.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.2812, allocations: 1.145 MB / 333.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009962/0.2822, allocations: 0.6347 MB / 333.9 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.2834, allocations: 0.7667 MB / 334.7 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.2836, allocations: 160 kB / 334.8 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.2839, allocations: 160 kB / 335 MB, free: 10.19 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004359/0.2843, allocations: 466.7 kB / 335.4 MB, free: 9.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008294/0.2852, allocations: 0.7389 MB / 336.2 MB, free: 8.988 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.2871, allocations: 2.046 MB / 338.2 MB, free: 6.938 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.2871, allocations: 4 kB / 338.2 MB, free: 6.934 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2871, allocations: 4 kB / 338.2 MB, free: 6.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.714e-05/0.2872, allocations: 0 / 338.2 MB, free: 6.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.00316/0.2903, allocations: 1.683 MB / 339.9 MB, free: 5.191 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2904, allocations: 12.03 kB / 339.9 MB, free: 5.18 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.2906, allocations: 139.3 kB / 340.1 MB, free: 5.043 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.292, allocations: 0.8188 MB / 340.9 MB, free: 4.184 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.701e-05/0.2921, allocations: 82.62 kB / 341 MB, free: 4.102 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.2923, allocations: 115.9 kB / 341.1 MB, free: 3.988 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002777/0.2951, allocations: 1.572 MB / 342.6 MB, free: 2.371 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.2951, allocations: 0 / 342.6 MB, free: 2.371 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.2952, allocations: 48 kB / 342.7 MB, free: 2.324 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.2953, allocations: 24 kB / 342.7 MB, free: 2.301 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.2975, allocations: 1.336 MB / 344.1 MB, free: 0.957 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006864/0.3044, allocations: 4.314 MB / 348.4 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.3057, allocations: 1.332 MB / 349.7 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008712/0.3065, allocations: 0.5223 MB / 350.2 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.3066, allocations: 12.42 kB / 350.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.3066, allocations: 50.88 kB / 350.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of pre-optimization done (n=51): time 2.685e-06/0.3066, allocations: 4 kB / 350.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.001538/0.3082, allocations: 0.8689 MB / 351.2 MB, free: 9.535 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.3083, allocations: 55.84 kB / 351.2 MB, free: 9.469 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.3093, allocations: 0.8205 MB / 352 MB, free: 8.637 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.3094, allocations: 37.7 kB / 352.1 MB, free: 8.594 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/0.3098, allocations: 0.5415 MB / 352.6 MB, free: 8.043 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.3099, allocations: 181.4 kB / 352.8 MB, free: 7.863 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.3101, allocations: 106.2 kB / 352.9 MB, free: 7.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.3103, allocations: 382.7 kB / 353.3 MB, free: 7.367 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.3107, allocations: 304.9 kB / 353.6 MB, free: 7.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.3113, allocations: 398.5 kB / 354 MB, free: 6.648 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009545/0.3122, allocations: 0.6864 MB / 354.6 MB, free: 5.938 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3122, allocations: 0 / 354.6 MB, free: 5.938 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001234/0.3135, allocations: 0.822 MB / 355.5 MB, free: 5.105 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3135, allocations: 4 kB / 355.5 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3135, allocations: 4 kB / 355.5 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.3136, allocations: 4 kB / 355.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.3142, allocations: 156 kB / 355.6 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3142, allocations: 7.938 kB / 355.6 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.3146, allocations: 67.34 kB / 355.7 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.3146, allocations: 24 kB / 355.7 MB, free: 4.844 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.0006169/0.3153, allocations: 457.5 kB / 356.2 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3154, allocations: 79.08 kB / 356.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.3156, allocations: 87.08 kB / 356.3 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3156, allocations: 12 kB / 356.3 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3156, allocations: 0 / 356.3 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.3156, allocations: 11.91 kB / 356.4 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.3185, allocations: 1.943 MB / 358.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3185, allocations: 0 / 358.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.319, allocations: 124 kB / 358.4 MB, free: 2.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/0.3191, allocations: 4 kB / 358.4 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.3191, allocations: 12 kB / 358.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3191, allocations: 4 kB / 358.4 MB, free: 2.035 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.3191, allocations: 4 kB / 358.4 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.3207, allocations: 1.121 MB / 359.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.321, allocations: 172.2 kB / 359.7 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.3211, allocations: 12 kB / 359.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.3215, allocations: 51.94 kB / 359.8 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3216, allocations: 40.33 kB / 359.8 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.3217, allocations: 16 kB / 359.8 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007515/0.3224, allocations: 0.5965 MB / 360.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3224, allocations: 0 / 360.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007104/0.3231, allocations: 286.7 kB / 360.7 MB, free: 15.7 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.0001508/0.3233, allocations: 115.1 kB / 360.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.3246, allocations: 0.7864 MB / 361.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.3246, allocations: 8.562 kB / 361.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.3251, allocations: 330.2 kB / 362 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009025/0.326, allocations: 183.1 kB / 362.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/0.3301, allocations: 2.295 MB / 364.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.3313, allocations: 1.336 MB / 365.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005681/0.3319, allocations: 209.8 kB / 366 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.3321, allocations: 55.44 kB / 366 MB, free: 10.3 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3321, allocations: 0 / 366 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Templates: time 0.02022/0.3523, allocations: 9.998 MB / 376 MB, free: 300 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)