Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01298/0.01298, allocations: 101 kB / 15.73 MB, free: 6.047 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.002275/0.002275, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.872/1.872, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001252/0.001252, allocations: 55.92 kB / 326.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1483, allocations: 46.62 MB / 373.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.3269/0.4753, allocations: 10.64 MB / 383.8 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009467/0.4849, allocations: 3.275 MB / 387.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003622/0.4886, allocations: 70.41 kB / 387.2 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.4913, allocations: 0.7266 MB / 387.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006445/0.4978, allocations: 1.171 MB / 389.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.4997, allocations: 0.4923 MB / 389.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009092/0.5088, allocations: 5.281 MB / 394.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007632/0.5165, allocations: 4.117 MB / 399 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01005/0.5266, allocations: 2.384 MB / 401.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00868/0.5353, allocations: 2.763 MB / 404.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003458/0.5388, allocations: 0.6217 MB / 404.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00488/0.5437, allocations: 0.7014 MB / 405.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004539/0.5483, allocations: 1.632 MB / 407.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01167/0.56, allocations: 2.765 MB / 409.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01772/0.5778, allocations: 8.403 MB / 418.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.5778, allocations: 0 / 418.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5778, allocations: 4 kB / 418.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003608/0.5782, allocations: 0 / 418.2 MB, free: 2.426 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.0191/0.5973, allocations: 5.08 MB / 423.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.5974, allocations: 9.156 kB / 423.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/0.6008, allocations: 0.5498 MB / 423.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005953/0.6068, allocations: 2.619 MB / 426.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/0.6072, allocations: 295.8 kB / 426.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.6083, allocations: 387.9 kB / 427.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/0.6201, allocations: 5.785 MB / 433 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-05/0.6202, allocations: 4 kB / 433 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003716/0.6206, allocations: 164 kB / 433.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/0.6208, allocations: 211.9 kB / 433.3 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008746/0.6296, allocations: 5.012 MB / 438.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02911/0.6587, allocations: 16.2 MB / 454.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007414/0.6662, allocations: 6.805 MB / 461.3 MB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004132/0.6704, allocations: 2.626 MB / 464 MB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003964/0.6708, allocations: 131.1 kB / 464.1 MB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.476e-05/0.6709, allocations: 64.55 kB / 464.2 MB, free: 3.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 8.005e-06/0.671, allocations: 0 / 464.2 MB, free: 3.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.02417/0.6951, allocations: 10.7 MB / 474.9 MB, free: 8.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/0.6953, allocations: 81.41 kB / 474.9 MB, free: 8.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005489/0.7008, allocations: 2.628 MB / 477.6 MB, free: 5.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004985/0.7013, allocations: 69.7 kB / 477.6 MB, free: 5.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001583/0.7029, allocations: 1.636 MB / 479.3 MB, free: 3.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008915/0.7038, allocations: 0.8471 MB / 480.1 MB, free: 3.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006806/0.7045, allocations: 416.5 kB / 480.5 MB, free: 2.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.7046, allocations: 309.1 kB / 480.8 MB, free: 2.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/0.7068, allocations: 1.336 MB / 482.2 MB, free: 1.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.7091, allocations: 1.65 MB / 483.8 MB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004336/0.7134, allocations: 3.083 MB / 486.9 MB, free: 12.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.7135, allocations: 0 / 486.9 MB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008074/0.7215, allocations: 4.449 MB / 491.3 MB, free: 7.562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.7216, allocations: 8 kB / 491.4 MB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.7217, allocations: 8 kB / 491.4 MB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004591/0.7263, allocations: 1.53 MB / 492.9 MB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.728, allocations: 399.4 kB / 493.3 MB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02857/0.7566, allocations: 25.71 MB / 0.5068 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/0.7599, allocations: 99.77 kB / 0.5069 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004444/0.7604, allocations: 80.06 kB / 0.507 GB, free: 10.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.003714/0.7641, allocations: 1.415 MB / 0.5084 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/0.7652, allocations: 292.6 kB / 0.5087 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008186/0.7734, allocations: 4.383 MB / 0.5129 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.7735, allocations: 27.94 kB / 0.513 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.7735, allocations: 11.94 kB / 0.513 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.7735, allocations: 11.95 kB / 0.513 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/0.7888, allocations: 8.772 MB / 0.5216 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.7889, allocations: 0 / 0.5216 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.7901, allocations: 283.6 kB / 0.5218 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004384/0.7945, allocations: 1.511 MB / 0.5233 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/0.7947, allocations: 63.97 kB / 0.5234 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2288/1.024, allocations: 25.48 MB / 0.5482 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/1.024, allocations: 1.375 kB / 0.5482 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.034, allocations: 6.096 MB / 0.5542 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/1.036, allocations: 0.6717 MB / 0.5549 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004599/1.037, allocations: 59.73 kB / 0.5549 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.038, allocations: 119.9 kB / 0.555 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007726/1.039, allocations: 221 kB / 0.5552 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/1.039, allocations: 68.53 kB / 0.5553 GB, free: 143.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003293/1.042, allocations: 1.852 MB / 0.5571 GB, free: 142.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.042, allocations: 0 / 0.5571 GB, free: 142.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005175/1.048, allocations: 0.9532 MB / 0.558 GB, free: 142.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006993/1.048, allocations: 236.2 kB / 0.5583 GB, free: 142.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007757/1.056, allocations: 4.866 MB / 0.563 GB, free: 140 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.056, allocations: 1.125 kB / 0.563 GB, free: 140 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005752/1.062, allocations: 3.368 MB / 0.5663 GB, free: 138.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006921/1.069, allocations: 0.9536 MB / 0.5672 GB, free: 137.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.085, allocations: 8.425 MB / 0.5755 GB, free: 134.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00257/1.088, allocations: 3.177 MB / 0.5786 GB, free: 132.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002181/1.09, allocations: 0.5662 MB / 0.5791 GB, free: 132.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/1.09, allocations: 169.1 kB / 0.5793 GB, free: 132.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/1.09, allocations: 0 / 0.5793 GB, free: 132.8 MB / 478.1 MB Notification: Performance of Templates: time 0.08963/1.18, allocations: 60.11 MB / 0.638 GB, free: 77.07 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)