Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=150000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|lMains.i|meanCurrent.x|meanVoltage.x|pulse2.twoPulse.filter.1..firstOrder.y|pulse2.twoPulse.filter.1..transferFunction.1..x_scaled.1.|pulse2.twoPulse.filter.1..transferFunction.2..x_scaled.1.|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=150000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|lMains.i|meanCurrent.x|meanVoltage.x|pulse2.twoPulse.filter.1..firstOrder.y|pulse2.twoPulse.filter.1..transferFunction.1..x_scaled.1.|pulse2.twoPulse.filter.1..transferFunction.2..x_scaled.1.|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.88 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2094, allocations: 50.53 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive): time 0.01097/0.2204, allocations: 10.52 MB / 420.5 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005532/0.2259, allocations: 3.424 MB / 423.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009292/0.2269, allocations: 43.88 kB / 424 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.2284, allocations: 0.6725 MB / 424.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.2297, allocations: 0.6514 MB / 425.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009848/0.2307, allocations: 0.5657 MB / 425.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002249/0.233, allocations: 2.582 MB / 428.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.2342, allocations: 1.015 MB / 429.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.2353, allocations: 0.973 MB / 430.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009887/0.2363, allocations: 0.98 MB / 431.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.2366, allocations: 232 kB / 431.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.237, allocations: 275.9 kB / 431.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.2374, allocations: 490.4 kB / 432.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008074/0.2382, allocations: 1.034 MB / 433.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.2406, allocations: 2.819 MB / 436.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2406, allocations: 11.98 kB / 436.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2406, allocations: 4 kB / 436.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.2406, allocations: 3.938 kB / 436.2 MB, free: 7.152 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: 373 * Number of variables: 373 Notification: Performance of Generate backend data structure: time 0.004303/0.2449, allocations: 2.431 MB / 438.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.245, allocations: 8.031 kB / 438.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006722/0.2457, allocations: 250.4 kB / 438.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.248, allocations: 1.38 MB / 440.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.09e-05/0.2481, allocations: 111.3 kB / 440.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.2483, allocations: 160.3 kB / 440.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.2508, allocations: 1.578 MB / 442.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/0.2508, allocations: 11.84 kB / 442.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.251, allocations: 60 kB / 442.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.251, allocations: 36 kB / 442.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.2531, allocations: 1.143 MB / 443.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007555/0.2606, allocations: 6.155 MB / 449.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.2622, allocations: 0.9116 MB / 450.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.2634, allocations: 0.6323 MB / 451.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.177e-05/0.2635, allocations: 16.94 kB / 451.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009823/0.2645, allocations: 0.5718 MB / 451.7 MB, free: 7.227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 2.525e-06/0.2645, allocations: 0 / 451.7 MB, free: 7.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.006242/0.2707, allocations: 3.187 MB / 454.9 MB, free: 3.934 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/0.2709, allocations: 196.9 kB / 455.1 MB, free: 3.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.2725, allocations: 1.307 MB / 456.4 MB, free: 2.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/0.2726, allocations: 49.7 kB / 456.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/0.2731, allocations: 0.7881 MB / 457.2 MB, free: 1.523 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.2734, allocations: 319.5 kB / 457.5 MB, free: 1.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.2737, allocations: 242.7 kB / 457.8 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2738, allocations: 357.9 kB / 458.1 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007444/0.2746, allocations: 425.9 kB / 458.5 MB, free: 192 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.2756, allocations: 0.8466 MB / 459.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.2773, allocations: 1.232 MB / 460.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.2773, allocations: 4 kB / 460.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002441/0.2798, allocations: 1.577 MB / 462.2 MB, free: 12.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2798, allocations: 11.94 kB / 462.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.2798, allocations: 12 kB / 462.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005709/0.2804, allocations: 221.8 kB / 462.4 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009148/0.2813, allocations: 259.5 kB / 462.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00407/0.2854, allocations: 4.343 MB / 467 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008606/0.2863, allocations: 83.91 kB / 467.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.2864, allocations: 56 kB / 467.2 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001165/0.2876, allocations: 0.7211 MB / 467.9 MB, free: 6.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000988/0.2886, allocations: 0.8427 MB / 468.7 MB, free: 5.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001592/0.2902, allocations: 1.209 MB / 469.9 MB, free: 3.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.99e-06/0.2902, allocations: 8 kB / 469.9 MB, free: 3.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.002397/0.2926, allocations: 1.557 MB / 471.5 MB, free: 2.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2926, allocations: 15.98 kB / 471.5 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.2926, allocations: 12 kB / 471.5 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005147/0.2931, allocations: 213.7 kB / 471.7 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008866/0.294, allocations: 259.7 kB / 472 MB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003996/0.2981, allocations: 4.331 MB / 476.3 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009095/0.299, allocations: 83.94 kB / 476.4 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.149e-05/0.2991, allocations: 56 kB / 476.5 MB, free: 12.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 29 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,pulse2.fire_n,pulse2.fire_p,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,rectifier.thyristor_n2.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.andCondition_n.y,rectifier.andCondition_p.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002966/0.2994, allocations: 296.1 kB / 476.7 MB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.2996, allocations: 146.2 kB / 476.9 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.3018, allocations: 1.218 MB / 478.1 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.3018, allocations: 3.984 kB / 478.1 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3018, allocations: 0 / 478.1 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/0.3022, allocations: 327.1 kB / 478.4 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.3024, allocations: 27.98 kB / 478.5 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/0.303, allocations: 55.94 kB / 478.5 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.3032, allocations: 72.89 kB / 478.6 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002797/0.306, allocations: 1.267 MB / 479.8 MB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002417/0.3084, allocations: 1.65 MB / 481.5 MB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006898/0.3091, allocations: 435.7 kB / 481.9 MB, free: 7.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001161/0.3103, allocations: 0.8807 MB / 482.8 MB, free: 6.434 MB / 398.1 MB Notification: Performance of Backend: time 2.11e-07/0.3103, allocations: 0 / 482.8 MB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003615/0.3139, allocations: 2.153 MB / 485 MB, free: 4.23 MB / 398.1 MB Notification: Performance of SimCode: time 0.004656/0.3186, allocations: 3.581 MB / 488.5 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of Templates: time 0.03878/0.3574, allocations: 25.8 MB / 0.5023 GB, free: 7.047 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe 2>&1)