Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001584/0.001584, allocations: 114.3 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.001942/0.001942, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 59.89 kB / 359.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2154, allocations: 50.54 MB / 410 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic): time 0.0063/0.2218, allocations: 5.239 MB / 415.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.2245, allocations: 1.664 MB / 416.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/0.225, allocations: 31.81 kB / 416.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.2254, allocations: 202.3 kB / 417.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008637/0.2263, allocations: 342 kB / 417.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.2269, allocations: 327.5 kB / 417.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.2285, allocations: 1.714 MB / 419.5 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.23, allocations: 1.436 MB / 420.9 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008251/0.2309, allocations: 0.7593 MB / 421.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008655/0.2317, allocations: 0.8443 MB / 422.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002453/0.232, allocations: 204 kB / 422.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.2323, allocations: 219.9 kB / 422.9 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000421/0.2327, allocations: 0.5103 MB / 423.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007695/0.2335, allocations: 0.8749 MB / 424.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.2356, allocations: 2.539 MB / 426.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2356, allocations: 0 / 426.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2356, allocations: 0 / 426.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.2356, allocations: 0 / 426.9 MB, free: 0.7578 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.00342/0.239, allocations: 1.977 MB / 428.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2391, allocations: 8.031 kB / 428.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005241/0.2396, allocations: 202.8 kB / 429.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.2412, allocations: 1.044 MB / 430.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-05/0.2413, allocations: 107 kB / 430.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.2415, allocations: 140.1 kB / 430.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/0.2444, allocations: 1.856 MB / 432.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.2444, allocations: 3.906 kB / 432.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.2445, allocations: 52 kB / 432.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.835e-05/0.2446, allocations: 62.69 kB / 432.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.2472, allocations: 1.576 MB / 433.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007365/0.2546, allocations: 5.112 MB / 439 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.2566, allocations: 1.202 MB / 440.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.2577, allocations: 0.6507 MB / 440.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.2578, allocations: 8.656 kB / 440.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.2589, allocations: 0.6923 MB / 441.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.514e-06/0.2589, allocations: 0 / 441.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.003879/0.2628, allocations: 1.891 MB / 443.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.2629, allocations: 179.2 kB / 443.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.264, allocations: 0.907 MB / 444.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.399e-05/0.2641, allocations: 61.69 kB / 444.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.2646, allocations: 0.6241 MB / 445.2 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.2648, allocations: 272.2 kB / 445.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.2651, allocations: 210.8 kB / 445.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2652, allocations: 345.9 kB / 446 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008186/0.266, allocations: 0.4939 MB / 446.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009828/0.267, allocations: 0.7584 MB / 447.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.2686, allocations: 1.136 MB / 448.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.2687, allocations: 4 kB / 448.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002252/0.2709, allocations: 1.419 MB / 449.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.2709, allocations: 11.94 kB / 449.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.271, allocations: 12.03 kB / 449.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005184/0.2715, allocations: 224.6 kB / 450.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.2721, allocations: 171.7 kB / 450.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/0.2755, allocations: 3.033 MB / 453.3 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/0.2762, allocations: 135 kB / 453.4 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.2762, allocations: 40 kB / 453.4 MB, free: 5.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001357/0.2776, allocations: 0.9201 MB / 454.4 MB, free: 4.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000965/0.2786, allocations: 0.7389 MB / 455.1 MB, free: 3.613 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001581/0.2802, allocations: 1.121 MB / 456.2 MB, free: 2.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/0.2802, allocations: 4 kB / 456.2 MB, free: 2.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.002176/0.2824, allocations: 1.399 MB / 457.6 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2824, allocations: 8 kB / 457.6 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.2824, allocations: 8 kB / 457.6 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/0.2828, allocations: 224.9 kB / 457.9 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/0.2835, allocations: 167.7 kB / 458 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.2866, allocations: 3.03 MB / 461.1 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006894/0.2873, allocations: 119.3 kB / 461.2 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.2874, allocations: 40 kB / 461.2 MB, free: 13.25 MB / 382.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.0002875/0.2877, allocations: 303.3 kB / 461.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.2879, allocations: 102.8 kB / 461.6 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.2881, allocations: 126 kB / 461.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.2882, allocations: 3.984 kB / 461.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2882, allocations: 0 / 461.7 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.2886, allocations: 283.7 kB / 462 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.2888, allocations: 27.98 kB / 462 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.2893, allocations: 79.91 kB / 462.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.2895, allocations: 105 kB / 462.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00273/0.2923, allocations: 1.442 MB / 463.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002806/0.2951, allocations: 1.983 MB / 465.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008588/0.296, allocations: 0.5699 MB / 466.2 MB, free: 8.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007487/0.2967, allocations: 0.62 MB / 466.8 MB, free: 7.57 MB / 382.1 MB Notification: Performance of Backend: time 1.714e-06/0.2967, allocations: 0 / 466.8 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003216/0.3, allocations: 1.855 MB / 468.7 MB, free: 5.684 MB / 382.1 MB Notification: Performance of SimCode: time 0.003855/0.3038, allocations: 2.961 MB / 471.6 MB, free: 2.672 MB / 382.1 MB Notification: Performance of Templates: time 0.03285/0.3367, allocations: 21.69 MB / 493.3 MB, free: 13.16 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe 2>&1)