Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 110.9 kB / 17.74 MB, free: 5.332 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.001039/0.001039, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009789/0.0009789, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2292, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007582/0.2368, allocations: 6.86 MB / 408.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003493/0.2403, allocations: 2.268 MB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004093/0.2407, allocations: 51.75 kB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009248/0.2417, allocations: 464.8 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.243, allocations: 0.6798 MB / 411.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.2434, allocations: 267.6 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002444/0.2459, allocations: 2.828 MB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.2484, allocations: 2.574 MB / 417.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.2503, allocations: 1.331 MB / 418.7 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.2519, allocations: 1.537 MB / 420.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003891/0.2523, allocations: 348 kB / 420.6 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.2529, allocations: 435.8 kB / 421 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000729/0.2537, allocations: 0.8922 MB / 421.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.2551, allocations: 1.525 MB / 423.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00396/0.2591, allocations: 4.611 MB / 428.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2591, allocations: 11.94 kB / 428.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2591, allocations: 0 / 428.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.192e-05/0.2592, allocations: 0 / 428.1 MB, free: 14.05 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005353/0.2645, allocations: 2.959 MB / 431 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2646, allocations: 11.97 kB / 431 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006855/0.2653, allocations: 305.6 kB / 431.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.268, allocations: 1.647 MB / 433 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.2681, allocations: 164.4 kB / 433.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.2684, allocations: 219.9 kB / 433.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/0.2732, allocations: 3.178 MB / 436.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.2732, allocations: 0 / 436.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.2734, allocations: 88 kB / 436.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.2735, allocations: 112.4 kB / 436.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004124/0.2777, allocations: 2.734 MB / 439.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01248/0.2902, allocations: 8.763 MB / 448.2 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/0.2936, allocations: 3.372 MB / 451.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/0.2954, allocations: 1.312 MB / 452.9 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.2957, allocations: 138.2 kB / 453.1 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.2957, allocations: 51.88 kB / 453.1 MB, free: 4.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.446e-06/0.2957, allocations: 0 / 453.1 MB, free: 4.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01008/0.3058, allocations: 5.738 MB / 458.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.3059, allocations: 68.72 kB / 458.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.3078, allocations: 1.49 MB / 460.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/0.3079, allocations: 49.7 kB / 460.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006214/0.3085, allocations: 0.9447 MB / 461.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.3088, allocations: 441.5 kB / 461.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003312/0.3092, allocations: 218.9 kB / 462 MB, free: 11.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3093, allocations: 361.9 kB / 462.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009995/0.3103, allocations: 0.6935 MB / 463.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.3114, allocations: 0.8629 MB / 463.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.3136, allocations: 1.604 MB / 465.6 MB, free: 7.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3136, allocations: 3.984 kB / 465.6 MB, free: 7.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003617/0.3172, allocations: 2.306 MB / 467.9 MB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.3173, allocations: 11.12 kB / 467.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3173, allocations: 4 kB / 467.9 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/0.3199, allocations: 0.8311 MB / 468.7 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/0.3208, allocations: 203.7 kB / 468.9 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.3333, allocations: 11.47 MB / 480.4 MB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009762/0.3343, allocations: 59.8 kB / 480.4 MB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.3344, allocations: 40 kB / 480.5 MB, free: 8.004 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001337/0.3358, allocations: 0.8255 MB / 481.3 MB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.3362, allocations: 158.1 kB / 481.5 MB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.3401, allocations: 2.273 MB / 483.7 MB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.3402, allocations: 11.91 kB / 483.7 MB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.3402, allocations: 0 / 483.7 MB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008859/0.3411, allocations: 403.1 kB / 484.1 MB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.3413, allocations: 28 kB / 484.2 MB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008384/0.3422, allocations: 67.94 kB / 484.2 MB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.3424, allocations: 113.1 kB / 484.3 MB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004905/0.3473, allocations: 2.51 MB / 486.8 MB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003835/0.3512, allocations: 2.802 MB / 489.6 MB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001103/0.3523, allocations: 0.8143 MB / 490.5 MB, free: 13.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001636/0.354, allocations: 1.052 MB / 491.5 MB, free: 12.87 MB / 414.1 MB Notification: Performance of Backend: time 6.22e-07/0.354, allocations: 0 / 491.5 MB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004107/0.3581, allocations: 1.932 MB / 493.4 MB, free: 10.88 MB / 414.1 MB Notification: Performance of SimCode: time 0.008049/0.3662, allocations: 5.2 MB / 498.6 MB, free: 5.633 MB / 414.1 MB Notification: Performance of Templates: time 0.04976/0.4159, allocations: 32.23 MB / 0.5184 GB, free: 5.777 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)