Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_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.001569/0.001569, allocations: 107.2 kB / 18.4 MB, free: 4.66 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.001789/0.001789, allocations: 187.3 kB / 19.34 MB, free: 3.742 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.272/1.272, allocations: 205.1 MB / 225.2 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.001204/0.001204, allocations: 55.92 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07216/0.07337, allocations: 46.62 MB / 375.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.1527/0.2261, allocations: 10.65 MB / 386.5 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004622/0.2308, allocations: 3.279 MB / 389.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006529/0.2315, allocations: 71.84 kB / 389.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.2327, allocations: 0.7223 MB / 390.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.2346, allocations: 1.175 MB / 391.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007299/0.2354, allocations: 0.4884 MB / 392.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003978/0.2394, allocations: 5.285 MB / 397.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003908/0.2433, allocations: 4.118 MB / 401.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004023/0.2473, allocations: 2.381 MB / 404 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003548/0.2509, allocations: 2.761 MB / 406.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007738/0.2517, allocations: 0.6219 MB / 407.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.253, allocations: 0.7007 MB / 408.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.2544, allocations: 1.63 MB / 409.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00272/0.2571, allocations: 2.771 MB / 412.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007116/0.2642, allocations: 8.402 MB / 420.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2642, allocations: 0 / 420.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2643, allocations: 0 / 420.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001648/0.2644, allocations: 0 / 420.9 MB, free: 2.445 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.009616/0.274, allocations: 5.072 MB / 426 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2741, allocations: 12.03 kB / 426 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.2754, allocations: 0.5537 MB / 426.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/0.2793, allocations: 2.623 MB / 429.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.2795, allocations: 299.8 kB / 429.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000524/0.2801, allocations: 387.9 kB / 429.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008754/0.2888, allocations: 5.789 MB / 435.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.772e-05/0.2889, allocations: 0 / 435.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003641/0.2893, allocations: 156 kB / 435.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/0.2894, allocations: 207.9 kB / 436 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00815/0.2976, allocations: 5.024 MB / 441 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02219/0.3198, allocations: 16.18 MB / 457.2 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006174/0.326, allocations: 6.824 MB / 464 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003436/0.3295, allocations: 2.611 MB / 466.6 MB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000265/0.3297, allocations: 147 kB / 466.8 MB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.3298, allocations: 60.56 kB / 466.8 MB, free: 3.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 4.929e-06/0.3298, allocations: 0 / 466.8 MB, free: 3.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.01829/0.3481, allocations: 10.7 MB / 477.5 MB, free: 8.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3482, allocations: 77.42 kB / 477.6 MB, free: 8.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003319/0.3515, allocations: 2.636 MB / 480.2 MB, free: 5.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.3516, allocations: 69.7 kB / 480.3 MB, free: 5.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.3527, allocations: 1.632 MB / 481.9 MB, free: 3.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000577/0.3532, allocations: 0.8432 MB / 482.8 MB, free: 3.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006188/0.3539, allocations: 408.6 kB / 483.2 MB, free: 2.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.354, allocations: 309.1 kB / 483.5 MB, free: 2.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.3559, allocations: 1.34 MB / 484.8 MB, free: 1.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.358, allocations: 1.654 MB / 486.5 MB, free: 15.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/0.3621, allocations: 3.076 MB / 489.6 MB, free: 12.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3621, allocations: 3.938 kB / 489.6 MB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006902/0.369, allocations: 4.457 MB / 494 MB, free: 7.574 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.369, allocations: 8 kB / 494 MB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.3691, allocations: 4 kB / 494 MB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005558/0.3746, allocations: 1.647 MB / 495.7 MB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.3763, allocations: 383.5 kB / 496.1 MB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02476/0.4011, allocations: 25.73 MB / 0.5096 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.403, allocations: 99.77 kB / 0.5096 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.4031, allocations: 76 kB / 0.5097 GB, free: 10.22 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.002124/0.4053, allocations: 1.411 MB / 0.5111 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004612/0.4057, allocations: 292.6 kB / 0.5114 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007195/0.4129, allocations: 4.372 MB / 0.5156 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.413, allocations: 23.83 kB / 0.5157 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.413, allocations: 0 / 0.5157 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.4141, allocations: 0.6888 MB / 0.5163 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003837/0.4145, allocations: 51.98 kB / 0.5164 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.4158, allocations: 115.9 kB / 0.5165 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/0.4162, allocations: 213.7 kB / 0.5167 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009065/0.4253, allocations: 4.788 MB / 0.5214 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006843/0.4321, allocations: 5.233 MB / 0.5265 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001945/0.4341, allocations: 1.569 MB / 0.528 GB, free: 7.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002503/0.4366, allocations: 1.844 MB / 0.5298 GB, free: 5.297 MB / 462.1 MB Notification: Performance of Backend: time 2.41e-07/0.4366, allocations: 0 / 0.5298 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006088/0.4427, allocations: 3.861 MB / 0.5336 GB, free: 1.297 MB / 462.1 MB Notification: Performance of SimCode: time 0.01268/0.4554, allocations: 9.138 MB / 0.5425 GB, free: 8.094 MB / 478.1 MB Notification: Performance of Templates: time 0.2308/0.6863, allocations: 58.16 MB / 0.5993 GB, free: 120.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)