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.001627/0.001627, allocations: 114.3 kB / 17.75 MB, free: 5.297 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.001837/0.001837, allocations: 189.3 kB / 18.68 MB, free: 4.367 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.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 43.94 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.252, allocations: 49.44 MB / 401.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01541/0.2675, allocations: 6.876 MB / 408.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007147/0.2747, allocations: 2.263 MB / 410.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.2758, allocations: 51.75 kB / 410.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.2779, allocations: 468.9 kB / 411.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.2808, allocations: 0.6759 MB / 411.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009288/0.2818, allocations: 271.6 kB / 412 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004739/0.2865, allocations: 2.828 MB / 414.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004855/0.2914, allocations: 2.562 MB / 417.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003142/0.2946, allocations: 1.333 MB / 418.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003459/0.298, allocations: 1.537 MB / 420.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008315/0.2989, allocations: 348 kB / 420.6 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.3002, allocations: 435.8 kB / 421 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.3015, allocations: 0.8883 MB / 421.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002721/0.3043, allocations: 1.529 MB / 423.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00698/0.3113, allocations: 4.629 MB / 428.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3113, allocations: 8 kB / 428.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3113, allocations: 0 / 428.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.347e-05/0.3114, allocations: 0 / 428.1 MB, free: 14.2 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.009773/0.3212, allocations: 3.031 MB / 431.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.3213, allocations: 12.03 kB / 431.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.3228, allocations: 323.1 kB / 431.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/0.3276, allocations: 1.648 MB / 433.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.3278, allocations: 164.4 kB / 433.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006774/0.3285, allocations: 216 kB / 433.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00925/0.3378, allocations: 3.186 MB / 436.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.626e-05/0.3379, allocations: 3.938 kB / 436.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004071/0.3383, allocations: 88 kB / 436.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/0.3385, allocations: 112.4 kB / 436.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007794/0.3464, allocations: 2.73 MB / 439.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0219/0.3683, allocations: 8.782 MB / 448.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005864/0.3742, allocations: 3.387 MB / 451.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/0.3776, allocations: 1.304 MB / 453.1 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/0.378, allocations: 138.2 kB / 453.2 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.511e-05/0.3781, allocations: 47.88 kB / 453.2 MB, free: 4.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 5.04e-06/0.3781, allocations: 0 / 453.2 MB, free: 4.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01805/0.3961, allocations: 5.781 MB / 459 MB, free: 14.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.3962, allocations: 64.72 kB / 459.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/0.3996, allocations: 1.49 MB / 460.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.3997, allocations: 53.7 kB / 460.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.4009, allocations: 0.9588 MB / 461.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005414/0.4014, allocations: 468 kB / 462 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005703/0.402, allocations: 218.9 kB / 462.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.4022, allocations: 357.9 kB / 462.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/0.4041, allocations: 0.6935 MB / 463.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.4063, allocations: 0.8706 MB / 464.2 MB, free: 9.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00393/0.4102, allocations: 1.601 MB / 465.8 MB, free: 7.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.4103, allocations: 3.938 kB / 465.8 MB, free: 7.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006381/0.4167, allocations: 2.311 MB / 468.1 MB, free: 5.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.4167, allocations: 8 kB / 468.1 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.4167, allocations: 4 kB / 468.1 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004604/0.4214, allocations: 0.8233 MB / 468.9 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.4229, allocations: 203.7 kB / 469.1 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/0.4426, allocations: 11.49 MB / 480.6 MB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.4441, allocations: 51.95 kB / 480.7 MB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.4443, allocations: 40 kB / 480.7 MB, free: 7.953 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.001953/0.4462, allocations: 0.8175 MB / 481.5 MB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005392/0.4468, allocations: 175 kB / 481.7 MB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005635/0.4524, allocations: 2.273 MB / 484 MB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.4525, allocations: 11.91 kB / 484 MB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.4525, allocations: 0 / 484 MB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/0.4531, allocations: 408 kB / 484.4 MB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.4533, allocations: 28 kB / 484.4 MB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/0.4541, allocations: 67.94 kB / 484.5 MB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.4543, allocations: 113.1 kB / 484.6 MB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004635/0.4589, allocations: 2.514 MB / 487.1 MB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003591/0.4626, allocations: 2.803 MB / 489.9 MB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001032/0.4636, allocations: 0.8143 MB / 490.7 MB, free: 13.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.465, allocations: 1.056 MB / 491.8 MB, free: 12.79 MB / 414.1 MB Notification: Performance of Backend: time 3.2e-07/0.4651, allocations: 0 / 491.8 MB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00334/0.4684, allocations: 1.952 MB / 493.7 MB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 0.007747/0.4762, allocations: 5.271 MB / 499 MB, free: 5.469 MB / 414.1 MB Notification: Performance of Templates: time 0.04971/0.5259, allocations: 32.23 MB / 0.5188 GB, free: 5.613 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)