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.001081/0.001081, allocations: 112.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2122, allocations: 50.55 MB / 410 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive): time 0.01106/0.2233, allocations: 10.51 MB / 420.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005184/0.2285, allocations: 3.413 MB / 423.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007639/0.2293, allocations: 43.81 kB / 423.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.2308, allocations: 0.6753 MB / 424.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.232, allocations: 0.6553 MB / 425.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009733/0.233, allocations: 0.554 MB / 425.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.2351, allocations: 2.583 MB / 428.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.2364, allocations: 1.027 MB / 429.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.2374, allocations: 0.9691 MB / 430.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009972/0.2384, allocations: 0.984 MB / 431.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002755/0.2387, allocations: 228 kB / 431.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.2391, allocations: 272 kB / 431.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003937/0.2395, allocations: 494.3 kB / 432.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008908/0.2404, allocations: 1.03 MB / 433.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.2428, allocations: 2.831 MB / 436.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2428, allocations: 0 / 436.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2428, allocations: 0 / 436.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.2428, allocations: 0 / 436.2 MB, free: 7.324 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.004399/0.2472, allocations: 2.439 MB / 438.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2473, allocations: 8.031 kB / 438.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006955/0.248, allocations: 254.4 kB / 438.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.2504, allocations: 1.377 MB / 440.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.841e-05/0.2505, allocations: 115.3 kB / 440.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.2507, allocations: 156.3 kB / 440.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.2532, allocations: 1.57 MB / 442.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/0.2533, allocations: 7.906 kB / 442.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.2534, allocations: 71.98 kB / 442.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.2534, allocations: 43.98 kB / 442.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.2555, allocations: 1.139 MB / 443.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007802/0.2633, allocations: 6.155 MB / 449.6 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.2648, allocations: 0.9078 MB / 450.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.266, allocations: 0.6405 MB / 451.1 MB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.2661, allocations: 12.94 kB / 451.1 MB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009581/0.2671, allocations: 0.5756 MB / 451.7 MB, free: 7.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 2.845e-06/0.2671, allocations: 0 / 451.7 MB, free: 7.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.006298/0.2734, allocations: 3.18 MB / 454.9 MB, free: 4.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.2735, allocations: 196.9 kB / 455.1 MB, free: 3.859 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.2751, allocations: 1.303 MB / 456.4 MB, free: 2.539 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/0.2752, allocations: 61.69 kB / 456.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005703/0.2758, allocations: 0.7881 MB / 457.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.276, allocations: 315.5 kB / 457.5 MB, free: 1.363 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.2764, allocations: 242.7 kB / 457.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.2765, allocations: 361.9 kB / 458.1 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007449/0.2773, allocations: 413.9 kB / 458.5 MB, free: 360 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.2783, allocations: 0.8505 MB / 459.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.28, allocations: 1.228 MB / 460.6 MB, free: 13.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.28, allocations: 8 kB / 460.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002571/0.2826, allocations: 1.585 MB / 462.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.2826, allocations: 18.75 kB / 462.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.2826, allocations: 12 kB / 462.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/0.2832, allocations: 205.6 kB / 462.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009518/0.2842, allocations: 271.5 kB / 462.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004075/0.2883, allocations: 4.34 MB / 467 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009577/0.2892, allocations: 79.8 kB / 467.1 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/0.2893, allocations: 56 kB / 467.2 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001193/0.2905, allocations: 0.725 MB / 467.9 MB, free: 6.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009636/0.2915, allocations: 0.8428 MB / 468.7 MB, free: 5.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001596/0.2931, allocations: 1.209 MB / 469.9 MB, free: 3.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.272e-06/0.2931, allocations: 4 kB / 469.9 MB, free: 3.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization_lambda0): time 0.002403/0.2955, allocations: 1.557 MB / 471.5 MB, free: 2.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2956, allocations: 8 kB / 471.5 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.2956, allocations: 16 kB / 471.5 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/0.2961, allocations: 213.9 kB / 471.7 MB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009141/0.297, allocations: 251.5 kB / 472 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/0.3011, allocations: 4.35 MB / 476.3 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009668/0.3021, allocations: 88 kB / 476.4 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/0.3022, allocations: 52 kB / 476.5 MB, free: 13.03 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.0002885/0.3025, allocations: 291.3 kB / 476.7 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.3027, allocations: 146.2 kB / 476.9 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.3049, allocations: 1.226 MB / 478.1 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.3049, allocations: 3.984 kB / 478.1 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3049, allocations: 0 / 478.1 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005198/0.3055, allocations: 319.1 kB / 478.4 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.3057, allocations: 24 kB / 478.4 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/0.3063, allocations: 63.92 kB / 478.5 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.3065, allocations: 68.91 kB / 478.6 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002866/0.3094, allocations: 1.26 MB / 479.8 MB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002446/0.3118, allocations: 1.654 MB / 481.5 MB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006936/0.3125, allocations: 439.7 kB / 481.9 MB, free: 7.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001216/0.3138, allocations: 0.8768 MB / 482.8 MB, free: 6.594 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.3138, allocations: 0 / 482.8 MB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003662/0.3175, allocations: 2.153 MB / 484.9 MB, free: 4.391 MB / 398.1 MB Notification: Performance of SimCode: time 0.004916/0.3224, allocations: 3.593 MB / 488.5 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of Templates: time 0.04099/0.3634, allocations: 25.8 MB / 0.5023 GB, free: 7.195 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)