Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 112.3 kB / 18.41 MB, free: 4.688 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.001012/0.001012, allocations: 190.1 kB / 19.35 MB, free: 3.762 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.262/1.262, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001227/0.001227, allocations: 59.92 kB / 329.3 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07141/0.07265, allocations: 46.62 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL): time 0.1511/0.2238, allocations: 4.928 MB / 380.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.2266, allocations: 1.596 MB / 382.4 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005823/0.2272, allocations: 29.34 kB / 382.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.2277, allocations: 193.7 kB / 382.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009568/0.2286, allocations: 317.3 kB / 382.9 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.2292, allocations: 300.2 kB / 383.2 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.2307, allocations: 1.577 MB / 384.8 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.2319, allocations: 1.337 MB / 386.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006578/0.2326, allocations: 0.7091 MB / 386.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007632/0.2334, allocations: 0.7804 MB / 387.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.2336, allocations: 191.7 kB / 387.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.2339, allocations: 191.1 kB / 388 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003627/0.2343, allocations: 489.8 kB / 388.5 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006562/0.235, allocations: 0.8222 MB / 389.3 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.237, allocations: 2.378 MB / 391.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.237, allocations: 0 / 391.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.237, allocations: 0 / 391.7 MB, free: 5.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.237, allocations: 0 / 391.7 MB, free: 5.984 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.002993/0.24, allocations: 1.879 MB / 393.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2401, allocations: 9.469 kB / 393.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.2403, allocations: 166.3 kB / 393.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.2416, allocations: 0.929 MB / 394.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.2416, allocations: 108.1 kB / 394.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.2418, allocations: 132.3 kB / 394.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/0.2445, allocations: 1.721 MB / 396.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.2446, allocations: 0.7969 kB / 396.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.2447, allocations: 56.59 kB / 396.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.2447, allocations: 59 kB / 396.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.2469, allocations: 1.441 MB / 398.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006052/0.253, allocations: 4.841 MB / 403 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.2545, allocations: 0.9805 MB / 404 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009689/0.2554, allocations: 0.588 MB / 404.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.856e-05/0.2555, allocations: 12.41 kB / 404.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009527/0.2565, allocations: 0.6221 MB / 405.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=83): time 4.218e-06/0.2565, allocations: 0 / 405.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=83): time 0.003356/0.2598, allocations: 1.694 MB / 406.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.2599, allocations: 142.4 kB / 407.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.261, allocations: 0.858 MB / 407.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-05/0.261, allocations: 56.31 kB / 408 MB, free: 12.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.2615, allocations: 0.5997 MB / 408.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.2617, allocations: 258 kB / 408.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.262, allocations: 201.5 kB / 409 MB, free: 11.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2621, allocations: 344.1 kB / 409.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006965/0.2628, allocations: 447.6 kB / 409.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008652/0.2637, allocations: 0.7005 MB / 410.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.2651, allocations: 1.026 MB / 411.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.2651, allocations: 2.656 kB / 411.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00199/0.2671, allocations: 1.308 MB / 412.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2671, allocations: 8.25 kB / 412.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2671, allocations: 10.81 kB / 412.8 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005016/0.2676, allocations: 219.1 kB / 413.1 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.2682, allocations: 153.7 kB / 413.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.2715, allocations: 3.029 MB / 416.2 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006244/0.2721, allocations: 135.3 kB / 416.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.2722, allocations: 35.98 kB / 416.4 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001162/0.2733, allocations: 0.8492 MB / 417.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008395/0.2742, allocations: 0.6803 MB / 417.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001349/0.2756, allocations: 1.014 MB / 418.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.411e-06/0.2756, allocations: 4.781 kB / 419 MB, free: 3.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.001922/0.2775, allocations: 1.294 MB / 420.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2775, allocations: 9.094 kB / 420.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2775, allocations: 4 kB / 420.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.278, allocations: 217.6 kB / 420.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.2785, allocations: 147.7 kB / 420.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.2816, allocations: 3.037 MB / 423.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/0.2822, allocations: 115.5 kB / 423.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.2823, allocations: 36 kB / 423.8 MB, free: 14.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 48 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,pulsem.fire_n[3],pulsem.fire_n[2],pulsem.fire_n[1],pulsem.fire_p[3],pulsem.fire_p[2],pulsem.fire_p[1],pulsem.twomPulse.timerNegative[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[1].y,rectifier.thyristor.idealThyristor[3].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.andCondition_p[3].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000249/0.2826, allocations: 298.1 kB / 424.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.2827, allocations: 95.39 kB / 424.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.283, allocations: 113 kB / 424.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.515e-06/0.283, allocations: 7.984 kB / 424.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.283, allocations: 0 / 424.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.2833, allocations: 276.2 kB / 424.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.2835, allocations: 23.98 kB / 424.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.2839, allocations: 63.92 kB / 424.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.2842, allocations: 104.5 kB / 424.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002343/0.2865, allocations: 1.317 MB / 426.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002361/0.2889, allocations: 1.764 MB / 427.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007255/0.2896, allocations: 0.5087 MB / 428.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006875/0.2903, allocations: 0.5812 MB / 428.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of Backend: time 2.71e-07/0.2903, allocations: 0 / 428.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.2931, allocations: 1.726 MB / 430.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of SimCode: time 0.003558/0.2967, allocations: 2.852 MB / 433.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of Templates: time 0.02943/0.3261, allocations: 20.04 MB / 453.5 MB, free: 312 kB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe 2>&1)