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.001112/0.001112, allocations: 86.72 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.002015/0.002016, 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.778/1.778, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.0005174/0.0005178, allocations: 11.98 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.273, allocations: 47.58 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004851/0.2779, allocations: 3.197 MB / 329.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.2811, allocations: 1.019 MB / 330.7 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004033/0.2816, allocations: 19.31 kB / 330.7 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.2819, allocations: 113.7 kB / 330.8 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009369/0.2828, allocations: 261.9 kB / 331.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.2832, allocations: 90.66 kB / 331.2 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002615/0.2858, allocations: 1.533 MB / 332.7 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.2872, allocations: 0.7553 MB / 333.4 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.2883, allocations: 495.3 kB / 333.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009676/0.2893, allocations: 0.6381 MB / 334.6 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.2894, allocations: 76 kB / 334.6 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.2896, allocations: 76 kB / 334.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.29, allocations: 358.9 kB / 335.1 MB, free: 10.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.2903, allocations: 273 kB / 335.3 MB, free: 10.63 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.2922, allocations: 1.645 MB / 337 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.2922, allocations: 0 / 337 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2922, allocations: 0 / 337 MB, free: 8.984 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.799e-05/0.2922, allocations: 0 / 337 MB, free: 8.984 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.002849/0.2951, allocations: 1.477 MB / 338.5 MB, free: 7.453 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.2952, allocations: 12.03 kB / 338.5 MB, free: 7.441 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.2954, allocations: 146.3 kB / 338.6 MB, free: 7.297 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.2968, allocations: 0.7947 MB / 339.4 MB, free: 6.461 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/0.2969, allocations: 86.25 kB / 339.5 MB, free: 6.375 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.297, allocations: 108 kB / 339.6 MB, free: 6.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.2998, allocations: 1.561 MB / 341.2 MB, free: 4.664 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.2998, allocations: 7.984 kB / 341.2 MB, free: 4.656 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.2999, allocations: 51.92 kB / 341.2 MB, free: 4.605 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.3, allocations: 28 kB / 341.2 MB, free: 4.578 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.3024, allocations: 1.332 MB / 342.6 MB, free: 3.238 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007234/0.3096, allocations: 4.35 MB / 346.9 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.3109, allocations: 1.354 MB / 348.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008952/0.3118, allocations: 0.5496 MB / 348.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.3119, allocations: 8.438 kB / 348.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3119, allocations: 38.98 kB / 348.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=51): time 2.524e-06/0.3119, allocations: 0 / 348.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.001501/0.3134, allocations: 0.8885 MB / 349.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3135, allocations: 63.8 kB / 349.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.3145, allocations: 0.8166 MB / 350.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.3146, allocations: 37.7 kB / 350.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.315, allocations: 0.5453 MB / 351.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.3151, allocations: 181.4 kB / 351.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.3151, allocations: 11.94 kB / 351.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3153, allocations: 386.8 kB / 351.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004612/0.3158, allocations: 308.9 kB / 352.1 MB, free: 9.352 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.3163, allocations: 398.5 kB / 352.5 MB, free: 8.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.3169, allocations: 369.9 kB / 352.8 MB, free: 8.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3169, allocations: 4 kB / 352.8 MB, free: 8.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001298/0.3182, allocations: 0.8222 MB / 353.7 MB, free: 7.738 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.3183, allocations: 8 kB / 353.7 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3183, allocations: 0 / 353.7 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.3183, allocations: 8 kB / 353.7 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.319, allocations: 151.8 kB / 353.8 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.319, allocations: 11.95 kB / 353.8 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.3194, allocations: 63.59 kB / 353.9 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.3194, allocations: 20 kB / 353.9 MB, free: 7.48 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.0007238/0.3201, allocations: 461.2 kB / 354.4 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.3203, allocations: 79.05 kB / 354.5 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.3205, allocations: 95.02 kB / 354.5 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.3205, allocations: 8 kB / 354.6 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.3205, allocations: 4 kB / 354.6 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3205, allocations: 7.938 kB / 354.6 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.3237, allocations: 1.955 MB / 356.5 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3237, allocations: 4.031 kB / 356.5 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/0.3242, allocations: 123.8 kB / 356.6 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.3242, allocations: 4 kB / 356.6 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.3242, allocations: 12 kB / 356.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3243, allocations: 4 kB / 356.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.3243, allocations: 4 kB / 356.7 MB, free: 4.645 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.3258, allocations: 1.149 MB / 357.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.326, allocations: 164.2 kB / 358 MB, free: 3.285 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.3261, allocations: 12 kB / 358 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.3265, allocations: 63.94 kB / 358.1 MB, free: 3.211 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/0.3266, allocations: 32.39 kB / 358.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.3266, allocations: 16 kB / 358.1 MB, free: 3.164 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007389/0.3274, allocations: 0.5849 MB / 358.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3274, allocations: 0 / 358.7 MB, free: 2.586 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007939/0.3282, allocations: 290.8 kB / 359 MB, free: 2.301 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.0001735/0.3283, allocations: 119 kB / 359.1 MB, free: 2.172 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.3295, allocations: 0.6577 MB / 359.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3295, allocations: 0 / 359.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.33, allocations: 326.2 kB / 360.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000905/0.3309, allocations: 167.5 kB / 360.2 MB, free: 1.027 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.3352, allocations: 2.736 MB / 363 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.3363, allocations: 1.34 MB / 364.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005772/0.3369, allocations: 209.8 kB / 364.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.337, allocations: 51.44 kB / 364.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3371, allocations: 0 / 364.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Templates: time 0.01884/0.3559, allocations: 9.171 MB / 373.7 MB, free: 3.438 MB / 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)