Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 110.3 kB / 17.75 MB, free: 5.352 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.0009786/0.0009786, allocations: 181.4 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 51.92 kB / 352 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2328, allocations: 49.43 MB / 401.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic): time 0.006182/0.239, allocations: 5.212 MB / 406.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.2415, allocations: 1.601 MB / 408.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.2418, allocations: 27.88 kB / 408.3 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.2422, allocations: 198.4 kB / 408.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007824/0.243, allocations: 337.9 kB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.2435, allocations: 323 kB / 409.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.245, allocations: 1.706 MB / 410.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.2465, allocations: 1.425 MB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007232/0.2472, allocations: 0.7593 MB / 413 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000854/0.2481, allocations: 0.8482 MB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002457/0.2484, allocations: 204 kB / 414.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.2486, allocations: 204 kB / 414.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004081/0.2491, allocations: 0.5025 MB / 414.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000751/0.2498, allocations: 0.8749 MB / 415.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.2517, allocations: 2.512 MB / 418.2 MB, free: 8.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2517, allocations: 0 / 418.2 MB, free: 8.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.2517, allocations: 3.938 kB / 418.2 MB, free: 8.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.2518, allocations: 4 kB / 418.2 MB, free: 8.062 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.003334/0.2551, allocations: 1.961 MB / 420.1 MB, free: 6.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2551, allocations: 8.031 kB / 420.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.2554, allocations: 174.9 kB / 420.3 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.257, allocations: 1.017 MB / 421.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-05/0.2571, allocations: 111 kB / 421.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.2573, allocations: 140.1 kB / 421.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/0.2602, allocations: 1.852 MB / 423.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.2603, allocations: 0 / 423.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.2604, allocations: 59.92 kB / 423.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-05/0.2605, allocations: 58.69 kB / 423.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.2631, allocations: 1.572 MB / 425.1 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007288/0.2704, allocations: 5.104 MB / 430.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.2725, allocations: 1.199 MB / 431.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.2736, allocations: 0.6624 MB / 432.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.2736, allocations: 8.656 kB / 432.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.2747, allocations: 0.6884 MB / 432.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.345e-06/0.2748, allocations: 0 / 432.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.003844/0.2786, allocations: 1.891 MB / 434.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.344e-05/0.2787, allocations: 183.2 kB / 434.9 MB, free: 7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.2797, allocations: 0.8874 MB / 435.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-05/0.2798, allocations: 57.69 kB / 435.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/0.2803, allocations: 0.6201 MB / 436.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.2805, allocations: 272.3 kB / 436.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/0.2808, allocations: 206.9 kB / 436.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2809, allocations: 349.9 kB / 437.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008423/0.2818, allocations: 0.4939 MB / 437.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009909/0.2828, allocations: 0.7505 MB / 438.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.2845, allocations: 1.148 MB / 439.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2845, allocations: 0 / 439.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002201/0.2867, allocations: 1.414 MB / 441 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2867, allocations: 11.94 kB / 441 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.2867, allocations: 8 kB / 441.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004945/0.2872, allocations: 221.2 kB / 441.3 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.2879, allocations: 171.7 kB / 441.4 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/0.2911, allocations: 3.021 MB / 444.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/0.2918, allocations: 147 kB / 444.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.2919, allocations: 43.98 kB / 444.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001309/0.2932, allocations: 0.9123 MB / 445.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009498/0.2942, allocations: 0.7389 MB / 446.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001584/0.2958, allocations: 1.128 MB / 447.4 MB, free: 9.805 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.728e-06/0.2958, allocations: 11.88 kB / 447.4 MB, free: 9.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.00216/0.298, allocations: 1.38 MB / 448.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.298, allocations: 12.12 kB / 448.8 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.298, allocations: 8 kB / 448.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004273/0.2984, allocations: 224.6 kB / 449.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006011/0.2991, allocations: 163.7 kB / 449.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/0.3022, allocations: 3.042 MB / 452.3 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/0.3029, allocations: 127.3 kB / 452.4 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.605e-05/0.303, allocations: 40 kB / 452.4 MB, free: 4.66 MB / 366.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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,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 (118): * Single equations (assignments): 117 * 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.0002648/0.3033, allocations: 284.1 kB / 452.7 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.3034, allocations: 98.78 kB / 452.8 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.3037, allocations: 125.8 kB / 452.9 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3037, allocations: 3.984 kB / 452.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3037, allocations: 0 / 452.9 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/0.3042, allocations: 287.7 kB / 453.2 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.3043, allocations: 20 kB / 453.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.3049, allocations: 79.91 kB / 453.3 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.3052, allocations: 104.8 kB / 453.4 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002799/0.308, allocations: 1.448 MB / 454.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002777/0.3107, allocations: 1.971 MB / 456.8 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008631/0.3116, allocations: 0.5699 MB / 457.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007345/0.3124, allocations: 0.6044 MB / 458 MB, free: 15.03 MB / 382.1 MB Notification: Performance of Backend: time 5.11e-07/0.3124, allocations: 4 kB / 458 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.3155, allocations: 1.833 MB / 459.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of SimCode: time 0.004038/0.3196, allocations: 2.972 MB / 462.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of Templates: time 0.03146/0.351, allocations: 21.55 MB / 484.4 MB, free: 4.785 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe 2>&1)