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.001114/0.001114, allocations: 107.3 kB / 18.4 MB, free: 4.68 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.001187/0.001187, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.3/1.3, 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.002285/0.002285, allocations: 55.94 kB / 329.2 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07994/0.08225, 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.1664/0.2487, allocations: 10.37 MB / 386.2 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005707/0.2544, allocations: 3.383 MB / 389.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.2561, allocations: 44.12 kB / 389.7 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.2581, allocations: 0.6405 MB / 390.3 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.2601, allocations: 0.6046 MB / 390.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.2618, allocations: 0.5451 MB / 391.4 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.2644, allocations: 2.534 MB / 394 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.2655, allocations: 1.005 MB / 395 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.2667, allocations: 0.9489 MB / 395.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008957/0.2676, allocations: 0.9583 MB / 396.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002684/0.2679, allocations: 229.2 kB / 397.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.2683, allocations: 267.4 kB / 397.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003555/0.2687, allocations: 477.3 kB / 397.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007987/0.2695, allocations: 1.013 MB / 398.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.2721, allocations: 2.761 MB / 401.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2722, allocations: 0 / 401.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2722, allocations: 0.5625 kB / 401.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.142e-05/0.2722, allocations: 1.906 kB / 401.6 MB, free: 15.54 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.004658/0.2769, allocations: 2.411 MB / 404 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2769, allocations: 8.812 kB / 404 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006622/0.2776, allocations: 240.3 kB / 404.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.2801, allocations: 1.355 MB / 405.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.173e-05/0.2802, allocations: 115.8 kB / 405.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.2804, allocations: 154.2 kB / 405.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.2829, allocations: 1.533 MB / 407.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.066e-05/0.2829, allocations: 10.19 kB / 407.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.2831, allocations: 62.34 kB / 407.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.2831, allocations: 35.38 kB / 407.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.2852, allocations: 1.105 MB / 408.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007912/0.2931, allocations: 6.04 MB / 414.7 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.2947, allocations: 0.8853 MB / 415.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.2959, allocations: 0.6047 MB / 416.2 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.268e-05/0.2959, allocations: 14.69 kB / 416.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009078/0.2968, allocations: 0.5544 MB / 416.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.685e-06/0.2968, allocations: 0 / 416.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=95): time 0.006672/0.3035, allocations: 3.11 MB / 419.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.3036, allocations: 179.2 kB / 420 MB, free: 2.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.3056, allocations: 1.282 MB / 421.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.637e-05/0.3057, allocations: 49.7 kB / 421.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006322/0.3064, allocations: 0.7686 MB / 422.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.3067, allocations: 319.5 kB / 422.4 MB, free: 348 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/0.307, allocations: 238.8 kB / 422.7 MB, free: 104 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3072, allocations: 349.9 kB / 423 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/0.3079, allocations: 405.9 kB / 423.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.309, allocations: 0.8308 MB / 424.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.3107, allocations: 1.193 MB / 425.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.3107, allocations: 4 kB / 425.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002664/0.3134, allocations: 1.549 MB / 427 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3134, allocations: 12 kB / 427 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.3135, allocations: 16 kB / 427 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/0.3141, allocations: 210.7 kB / 427.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009651/0.3151, allocations: 267.4 kB / 427.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00433/0.3194, allocations: 4.335 MB / 431.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.3205, allocations: 79.84 kB / 431.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.229e-05/0.3206, allocations: 56 kB / 431.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001274/0.3219, allocations: 0.7016 MB / 432.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001014/0.3229, allocations: 0.8185 MB / 433.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001651/0.3246, allocations: 1.189 MB / 434.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.618e-06/0.3246, allocations: 4 kB / 434.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.00251/0.3271, allocations: 1.53 MB / 436.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3271, allocations: 12 kB / 436.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.3272, allocations: 16.11 kB / 436.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005362/0.3277, allocations: 217.8 kB / 436.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/0.3286, allocations: 259.5 kB / 436.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/0.3328, allocations: 4.341 MB / 441 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3339, allocations: 83.92 kB / 441.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/0.334, allocations: 56.12 kB / 441.2 MB, free: 12.22 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.0003182/0.3343, allocations: 295.8 kB / 441.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.3346, allocations: 138.3 kB / 441.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.3369, allocations: 1.182 MB / 442.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.3369, allocations: 7.969 kB / 442.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3369, allocations: 4 kB / 442.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005805/0.3375, allocations: 307.2 kB / 443.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/0.3378, allocations: 27.98 kB / 443.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006937/0.3385, allocations: 51.94 kB / 443.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.3387, allocations: 72.91 kB / 443.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002929/0.3416, allocations: 1.229 MB / 444.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002505/0.3441, allocations: 1.592 MB / 446 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006855/0.3448, allocations: 415.7 kB / 446.4 MB, free: 6.828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001372/0.3462, allocations: 0.8721 MB / 447.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of Backend: time 7.62e-07/0.3462, allocations: 0 / 447.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003961/0.3502, allocations: 2.105 MB / 449.4 MB, free: 3.797 MB / 366.1 MB Notification: Performance of SimCode: time 0.005329/0.3555, allocations: 3.533 MB / 453 MB, free: 220 kB / 366.1 MB Notification: Performance of Templates: time 0.04236/0.3979, allocations: 25.92 MB / 478.9 MB, free: 6.242 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)