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.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001189/0.001189, allocations: 192.1 kB / 16.14 MB, free: 6.707 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.628/1.628, allocations: 205.1 MB / 222 MB, free: 4.762 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.001259/0.001259, allocations: 59.91 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.302, allocations: 46.62 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005172/0.3073, allocations: 3.74 MB / 328.4 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.3093, allocations: 1.009 MB / 329.4 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.3095, allocations: 18.5 kB / 329.4 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.3099, allocations: 119.5 kB / 329.6 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007385/0.3106, allocations: 261 kB / 329.8 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.3109, allocations: 114.7 kB / 329.9 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001796/0.3127, allocations: 1.65 MB / 331.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.314, allocations: 0.9433 MB / 332.5 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007079/0.3147, allocations: 0.5176 MB / 333 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009491/0.3156, allocations: 0.7315 MB / 333.8 MB, free: 11 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.3158, allocations: 100 kB / 333.9 MB, free: 10.9 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.316, allocations: 100 kB / 334 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003835/0.3164, allocations: 402.7 kB / 334.4 MB, free: 10.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007745/0.3172, allocations: 0.6608 MB / 335 MB, free: 9.742 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.319, allocations: 1.96 MB / 337 MB, free: 7.777 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.319, allocations: 0 / 337 MB, free: 7.777 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.319, allocations: 0 / 337 MB, free: 7.777 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.319, allocations: 0 / 337 MB, free: 7.777 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.003135/0.3222, allocations: 1.656 MB / 338.6 MB, free: 6.066 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.3222, allocations: 8.031 kB / 338.6 MB, free: 6.059 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.3225, allocations: 147.2 kB / 338.8 MB, free: 5.914 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.3237, allocations: 0.8111 MB / 339.6 MB, free: 5.062 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-05/0.3238, allocations: 82.59 kB / 339.7 MB, free: 4.98 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.3239, allocations: 111.9 kB / 339.8 MB, free: 4.871 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.3264, allocations: 1.54 MB / 341.3 MB, free: 3.285 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.3265, allocations: 0 / 341.3 MB, free: 3.285 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.3266, allocations: 48 kB / 341.4 MB, free: 3.238 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.3266, allocations: 24 kB / 341.4 MB, free: 3.215 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.3287, allocations: 1.312 MB / 342.7 MB, free: 1.895 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006714/0.3354, allocations: 4.22 MB / 346.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.3369, allocations: 1.315 MB / 348.2 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006893/0.3376, allocations: 458.5 kB / 348.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.3376, allocations: 4.438 kB / 348.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3377, allocations: 39 kB / 348.7 MB, free: 11.56 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.615e-06/0.3377, allocations: 0 / 348.7 MB, free: 11.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=51): time 0.003294/0.341, allocations: 1.95 MB / 350.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.341, allocations: 59.78 kB / 350.7 MB, free: 9.477 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.3421, allocations: 0.8164 MB / 351.6 MB, free: 8.652 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.3422, allocations: 37.7 kB / 351.6 MB, free: 8.609 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/0.3426, allocations: 0.5414 MB / 352.1 MB, free: 8.059 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.3428, allocations: 177.5 kB / 352.3 MB, free: 7.883 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.3429, allocations: 98.25 kB / 352.4 MB, free: 7.777 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002788/0.3432, allocations: 394.7 kB / 352.8 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.3437, allocations: 300.9 kB / 353.1 MB, free: 7.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006989/0.3444, allocations: 399.4 kB / 353.5 MB, free: 6.664 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009811/0.3454, allocations: 0.7028 MB / 354.2 MB, free: 5.934 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3454, allocations: 0 / 354.2 MB, free: 5.934 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001386/0.3468, allocations: 0.9125 MB / 355.1 MB, free: 5.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3468, allocations: 8 kB / 355.1 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3468, allocations: 320 / 355.1 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000349/0.3472, allocations: 116.7 kB / 355.2 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.3477, allocations: 119.9 kB / 355.3 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.3502, allocations: 2.173 MB / 357.5 MB, free: 2.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.3506, allocations: 24.17 kB / 357.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.3506, allocations: 24.06 kB / 357.5 MB, free: 2.41 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007212/0.3513, allocations: 473.3 kB / 358 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3515, allocations: 75.16 kB / 358.1 MB, free: 1.863 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.3516, allocations: 91.02 kB / 358.2 MB, free: 1.766 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3516, allocations: 4 kB / 358.2 MB, free: 1.762 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.3517, allocations: 4 kB / 358.2 MB, free: 1.758 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3517, allocations: 3.984 kB / 358.2 MB, free: 1.754 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/0.3548, allocations: 2.025 MB / 360.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3548, allocations: 4 kB / 360.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.3552, allocations: 87.88 kB / 360.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/0.3554, allocations: 104.7 kB / 360.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.3555, allocations: 19.98 kB / 360.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.3576, allocations: 2.119 MB / 362.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3576, allocations: 4.062 kB / 362.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.3594, allocations: 1.196 MB / 363.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.3597, allocations: 168.2 kB / 363.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.3598, allocations: 12 kB / 363.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.3602, allocations: 48.02 kB / 364 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3603, allocations: 44.31 kB / 364 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.3604, allocations: 19.98 kB / 364 MB, free: 11.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007912/0.3612, allocations: 0.581 MB / 364.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3612, allocations: 0 / 364.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008406/0.362, allocations: 216 kB / 364.8 MB, free: 10.86 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001856/0.3622, allocations: 115.3 kB / 364.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.3637, allocations: 0.8089 MB / 365.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3637, allocations: 8.125 kB / 365.7 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007047/0.3644, allocations: 496.8 kB / 366.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008607/0.3653, allocations: 175 kB / 366.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.3695, allocations: 2.682 MB / 369.1 MB, free: 6.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.3707, allocations: 1.344 MB / 370.4 MB, free: 5.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005008/0.3712, allocations: 181.8 kB / 370.6 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.3713, allocations: 51.42 kB / 370.7 MB, free: 4.902 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3714, allocations: 0 / 370.7 MB, free: 4.902 MB / 302.1 MB Notification: Performance of Templates: time 0.01826/0.3896, allocations: 9.976 MB / 380.6 MB, free: 10.91 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)