Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 110.7 kB / 18.4 MB, free: 4.656 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.001034/0.001034, allocations: 190 kB / 19.34 MB, free: 3.734 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.254/1.254, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001195/0.001195, allocations: 43.94 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07106/0.07226, allocations: 46.61 MB / 375.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive): time 0.1579/0.2302, allocations: 10.37 MB / 386.2 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005065/0.2353, allocations: 3.384 MB / 389.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008128/0.2362, allocations: 44.12 kB / 389.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.2376, allocations: 0.6658 MB / 390.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.2387, allocations: 0.6497 MB / 391 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.2397, allocations: 0.5466 MB / 391.5 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001992/0.2417, allocations: 2.529 MB / 394 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.2429, allocations: 1.013 MB / 395.1 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009651/0.2439, allocations: 0.9451 MB / 396 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009004/0.2448, allocations: 0.963 MB / 397 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003005/0.2451, allocations: 229 kB / 397.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/0.2456, allocations: 265.9 kB / 397.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003579/0.2459, allocations: 483.1 kB / 397.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008067/0.2467, allocations: 1.012 MB / 398.9 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.2493, allocations: 2.762 MB / 401.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2493, allocations: 0 / 401.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2493, allocations: 0 / 401.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.841e-05/0.2493, allocations: 0 / 401.7 MB, free: 15.48 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: 366 * Number of variables: 366 Notification: Performance of Generate backend data structure: time 0.004546/0.2539, allocations: 2.403 MB / 404.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2539, allocations: 8.25 kB / 404.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006262/0.2546, allocations: 243.6 kB / 404.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.257, allocations: 1.355 MB / 405.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.414e-05/0.2571, allocations: 112.3 kB / 405.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.2574, allocations: 158.2 kB / 406 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.2599, allocations: 1.525 MB / 407.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/0.26, allocations: 10.06 kB / 407.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.2601, allocations: 66.64 kB / 407.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.2601, allocations: 34.62 kB / 407.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.2622, allocations: 1.111 MB / 408.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007837/0.2701, allocations: 6.044 MB / 414.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.2716, allocations: 0.8796 MB / 415.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.2728, allocations: 0.6057 MB / 416.2 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/0.2729, allocations: 13.28 kB / 416.2 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009543/0.2738, allocations: 0.5557 MB / 416.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.595e-06/0.2738, allocations: 0 / 416.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=95): time 0.006399/0.2802, allocations: 3.106 MB / 419.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.2803, allocations: 175.1 kB / 420.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.2821, allocations: 1.29 MB / 421.4 MB, free: 1.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.907e-05/0.2821, allocations: 53.69 kB / 421.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005903/0.2827, allocations: 0.7686 MB / 422.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.283, allocations: 315.5 kB / 422.5 MB, free: 280 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003326/0.2833, allocations: 234.8 kB / 422.7 MB, free: 40 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2835, allocations: 354.7 kB / 423.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007369/0.2843, allocations: 409.9 kB / 423.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.2853, allocations: 0.8185 MB / 424.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.287, allocations: 1.197 MB / 425.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.287, allocations: 4 kB / 425.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002436/0.2894, allocations: 1.542 MB / 427 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.2895, allocations: 17.19 kB / 427.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.2895, allocations: 19.94 kB / 427.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005914/0.2901, allocations: 213.5 kB / 427.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009364/0.291, allocations: 259.5 kB / 427.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004296/0.2953, allocations: 4.347 MB / 431.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.2964, allocations: 71.98 kB / 432 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.352e-05/0.2965, allocations: 64 kB / 432 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001252/0.2978, allocations: 0.7016 MB / 432.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001036/0.2988, allocations: 0.8224 MB / 433.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001554/0.3004, allocations: 1.189 MB / 434.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.372e-06/0.3004, allocations: 4 kB / 434.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.002405/0.3028, allocations: 1.526 MB / 436.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3028, allocations: 12 kB / 436.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3029, allocations: 12 kB / 436.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005314/0.3034, allocations: 221.8 kB / 436.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009012/0.3043, allocations: 259.5 kB / 436.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.3084, allocations: 4.345 MB / 441.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.3094, allocations: 83.91 kB / 441.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.3095, allocations: 56 kB / 441.2 MB, free: 12.14 MB / 366.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (142): * Single equations (assignments): 140 * 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.0003088/0.3098, allocations: 283.7 kB / 441.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.31, allocations: 142.3 kB / 441.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.3122, allocations: 1.186 MB / 442.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.3122, allocations: 3.984 kB / 442.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3122, allocations: 0 / 442.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005002/0.3127, allocations: 311.2 kB / 443.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.3129, allocations: 24 kB / 443.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006429/0.3136, allocations: 51.94 kB / 443.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.3138, allocations: 76.89 kB / 443.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00283/0.3166, allocations: 1.225 MB / 444.5 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002381/0.319, allocations: 1.596 MB / 446.1 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000662/0.3197, allocations: 415.7 kB / 446.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001172/0.3209, allocations: 0.8682 MB / 447.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of Backend: time 3.3e-07/0.3209, allocations: 0 / 447.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003578/0.3245, allocations: 2.11 MB / 449.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of SimCode: time 0.004684/0.3292, allocations: 3.534 MB / 453 MB, free: 148 kB / 366.1 MB Notification: Performance of Templates: time 0.03871/0.3679, allocations: 25.2 MB / 478.2 MB, free: 6.895 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe 2>&1)