Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 84.38 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.001313/0.001313, 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.637 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.0005768/0.0005773, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2715, allocations: 47.59 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003301/0.2749, allocations: 3.185 MB / 329.7 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.2767, allocations: 0.9698 MB / 330.6 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.2769, allocations: 15.03 kB / 330.6 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.2772, allocations: 113.9 kB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007035/0.2779, allocations: 251.9 kB / 331 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.2781, allocations: 89.8 kB / 331.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.2796, allocations: 1.489 MB / 332.6 MB, free: 12.85 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009342/0.2805, allocations: 0.7392 MB / 333.3 MB, free: 12.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00075/0.2813, allocations: 479.8 kB / 333.8 MB, free: 12.15 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008037/0.2821, allocations: 0.6264 MB / 334.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.2822, allocations: 72 kB / 334.5 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.2824, allocations: 76 kB / 334.6 MB, free: 11.38 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.2827, allocations: 358.9 kB / 334.9 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.283, allocations: 265.1 kB / 335.2 MB, free: 10.76 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.2844, allocations: 1.618 MB / 336.8 MB, free: 9.137 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2844, allocations: 4 kB / 336.8 MB, free: 9.133 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2844, allocations: 0 / 336.8 MB, free: 9.133 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.2844, allocations: 0 / 336.8 MB, free: 9.133 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00234/0.2868, allocations: 1.457 MB / 338.2 MB, free: 7.621 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.683e-05/0.2868, allocations: 12.03 kB / 338.3 MB, free: 7.609 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.287, allocations: 138.3 kB / 338.4 MB, free: 7.473 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.2881, allocations: 0.787 MB / 339.2 MB, free: 6.645 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.438e-05/0.2881, allocations: 82.22 kB / 339.3 MB, free: 6.562 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.2883, allocations: 108 kB / 339.4 MB, free: 6.457 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.2907, allocations: 1.54 MB / 340.9 MB, free: 4.871 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.2907, allocations: 0 / 340.9 MB, free: 4.871 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.2908, allocations: 47.98 kB / 341 MB, free: 4.824 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.2909, allocations: 28 kB / 341 MB, free: 4.797 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.2929, allocations: 1.312 MB / 342.3 MB, free: 3.477 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006003/0.2989, allocations: 4.248 MB / 346.5 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.3001, allocations: 1.326 MB / 347.9 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006687/0.3008, allocations: 454.5 kB / 348.3 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.3008, allocations: 4.438 kB / 348.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.3008, allocations: 54.98 kB / 348.4 MB, free: 13.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.064e-06/0.3009, allocations: 3.938 kB / 348.4 MB, free: 13.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.003202/0.3041, allocations: 1.962 MB / 350.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.3041, allocations: 59.78 kB / 350.4 MB, free: 10.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/0.3051, allocations: 0.8164 MB / 351.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.3051, allocations: 33.7 kB / 351.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.3055, allocations: 0.5453 MB / 351.8 MB, free: 9.566 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.3057, allocations: 173.5 kB / 352 MB, free: 9.395 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.3057, allocations: 12 kB / 352 MB, free: 9.383 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3059, allocations: 390.7 kB / 352.4 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/0.3063, allocations: 304.8 kB / 352.7 MB, free: 8.695 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.3068, allocations: 411.4 kB / 353.1 MB, free: 8.258 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.3073, allocations: 369.9 kB / 353.4 MB, free: 7.898 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3073, allocations: 0 / 353.4 MB, free: 7.898 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001398/0.3087, allocations: 0.9205 MB / 354.3 MB, free: 6.969 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3088, allocations: 11.94 kB / 354.3 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3088, allocations: 4 kB / 354.3 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002779/0.3091, allocations: 108.8 kB / 354.5 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/0.3096, allocations: 127.9 kB / 354.6 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.3119, allocations: 2.17 MB / 356.8 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.3123, allocations: 27.98 kB / 356.8 MB, free: 4.383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.3123, allocations: 20 kB / 356.8 MB, free: 4.363 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000843/0.3132, allocations: 461.5 kB / 357.2 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.3133, allocations: 79.06 kB / 357.3 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.3135, allocations: 87.08 kB / 357.4 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.3135, allocations: 11.95 kB / 357.4 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/0.3135, allocations: 0 / 357.4 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3136, allocations: 3.984 kB / 357.4 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.3169, allocations: 2.041 MB / 359.5 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.3169, allocations: 4 kB / 359.5 MB, free: 1.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.3173, allocations: 92.03 kB / 359.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/0.3175, allocations: 112.8 kB / 359.7 MB, free: 1.398 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.3176, allocations: 15.94 kB / 359.7 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.3196, allocations: 2.123 MB / 361.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3196, allocations: 8.062 kB / 361.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.3213, allocations: 1.208 MB / 363 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.3215, allocations: 164.3 kB / 363.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-05/0.3216, allocations: 19.95 kB / 363.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.322, allocations: 55.94 kB / 363.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3221, allocations: 40.33 kB / 363.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.3221, allocations: 19.98 kB / 363.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007238/0.3228, allocations: 0.581 MB / 363.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3228, allocations: 0 / 363.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000736/0.3236, allocations: 208 kB / 364.1 MB, free: 12.78 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001588/0.3238, allocations: 111.2 kB / 364.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.3251, allocations: 0.8208 MB / 365 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3251, allocations: 4.062 kB / 365 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007364/0.3259, allocations: 496.9 kB / 365.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008501/0.3267, allocations: 171.3 kB / 365.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.3303, allocations: 2.635 MB / 368.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000898/0.3312, allocations: 1.332 MB / 369.7 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004846/0.3317, allocations: 189.8 kB / 369.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3319, allocations: 47.44 kB / 369.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3319, allocations: 0 / 369.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of Templates: time 0.01654/0.3484, allocations: 9.584 MB / 379.5 MB, free: 13.28 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)