Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL.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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001577, allocations: 118.3 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001897, allocations: 210.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.89 kB / 359.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2215, allocations: 50.54 MB / 410 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL): time 0.007028/0.2286, allocations: 5.994 MB / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003442/0.232, allocations: 1.874 MB / 417.9 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005981/0.2326, allocations: 35.81 kB / 417.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.2331, allocations: 253.9 kB / 418.2 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009897/0.2341, allocations: 445.4 kB / 418.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007055/0.2349, allocations: 395 kB / 419 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00206/0.2369, allocations: 2.392 MB / 421.4 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.2389, allocations: 1.847 MB / 423.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.2401, allocations: 1.051 MB / 424.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.2413, allocations: 1.222 MB / 425.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000331/0.2417, allocations: 283.9 kB / 425.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.2421, allocations: 284 kB / 426 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000565/0.2427, allocations: 0.7091 MB / 426.7 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.2438, allocations: 1.205 MB / 428 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.2466, allocations: 3.526 MB / 431.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2466, allocations: 4 kB / 431.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2466, allocations: 0 / 431.5 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.001e-05/0.2466, allocations: 4 kB / 431.5 MB, free: 12 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 456 * Number of variables: 456 Notification: Performance of Generate backend data structure: time 0.004336/0.251, allocations: 2.585 MB / 434.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.251, allocations: 8.031 kB / 434.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008119/0.2518, allocations: 298 kB / 434.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.2542, allocations: 1.42 MB / 435.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.2544, allocations: 139.9 kB / 435.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.2546, allocations: 188.1 kB / 436.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/0.2583, allocations: 2.512 MB / 438.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/0.2584, allocations: 0 / 438.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.2585, allocations: 75.98 kB / 438.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-05/0.2586, allocations: 83.45 kB / 438.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003639/0.2623, allocations: 2.215 MB / 441 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/0.2727, allocations: 7.197 MB / 448.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.275, allocations: 1.578 MB / 449.8 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.2765, allocations: 0.9861 MB / 450.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/0.2766, allocations: 9 kB / 450.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.278, allocations: 0.9181 MB / 451.7 MB, free: 7.395 MB / 366.1 MB Notification: Performance of pre-optimization done (n=118): time 2.906e-06/0.278, allocations: 0 / 451.7 MB, free: 7.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.006686/0.2847, allocations: 3.077 MB / 454.8 MB, free: 4.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.2848, allocations: 147.6 kB / 454.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.2864, allocations: 1.287 MB / 456.2 MB, free: 2.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.2866, allocations: 65.69 kB / 456.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006559/0.2872, allocations: 0.8199 MB / 457.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.2875, allocations: 355.1 kB / 457.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003717/0.2879, allocations: 254.8 kB / 457.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2881, allocations: 353.9 kB / 458 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.2892, allocations: 0.6696 MB / 458.7 MB, free: 284 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.2904, allocations: 0.9307 MB / 459.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.2926, allocations: 1.453 MB / 461.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.2926, allocations: 4 kB / 461.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003024/0.2956, allocations: 1.922 MB / 463 MB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.2957, allocations: 8 kB / 463 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2957, allocations: 4 kB / 463 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009641/0.2966, allocations: 447 kB / 463.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007395/0.2974, allocations: 187.6 kB / 463.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005931/0.3033, allocations: 4.769 MB / 468.4 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.3044, allocations: 158.9 kB / 468.6 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.3045, allocations: 47.98 kB / 468.6 MB, free: 6.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001952/0.3064, allocations: 1.267 MB / 469.9 MB, free: 4.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001206/0.3076, allocations: 0.9229 MB / 470.8 MB, free: 3.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002073/0.3097, allocations: 1.433 MB / 472.2 MB, free: 2.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.606e-06/0.3097, allocations: 0 / 472.2 MB, free: 2.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization_lambda0): time 0.002965/0.3127, allocations: 1.898 MB / 474.1 MB, free: 312 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3127, allocations: 8 kB / 474.1 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.3128, allocations: 12 kB / 474.1 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008544/0.3136, allocations: 437.5 kB / 474.6 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007093/0.3143, allocations: 175.7 kB / 474.7 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005851/0.3202, allocations: 4.756 MB / 479.5 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.3211, allocations: 151.1 kB / 479.6 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.3212, allocations: 48.05 kB / 479.7 MB, free: 10.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 57 (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,pulse2m.fire_n[3],pulse2m.fire_n[2],pulse2m.fire_n[1],pulse2m.fire_p[3],pulse2m.fire_p[2],pulse2m.fire_p[1],pulse2m.twomPulse.timerNegative[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[1].y,rectifier.thyristor_n.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.andCondition_n[3].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[1].y,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 (131): * Single equations (assignments): 130 * 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 {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0003575/0.3216, allocations: 307.8 kB / 480 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.3218, allocations: 138.3 kB / 480.1 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.3222, allocations: 185.4 kB / 480.3 MB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.3222, allocations: 7.969 kB / 480.3 MB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3222, allocations: 0 / 480.3 MB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006799/0.3229, allocations: 379.1 kB / 480.7 MB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.323, allocations: 31.98 kB / 480.7 MB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006437/0.3237, allocations: 83.91 kB / 480.8 MB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/0.324, allocations: 152.7 kB / 480.9 MB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003794/0.3278, allocations: 1.982 MB / 482.9 MB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003569/0.3314, allocations: 2.564 MB / 485.5 MB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001078/0.3325, allocations: 0.7689 MB / 486.3 MB, free: 3.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001141/0.3336, allocations: 0.8842 MB / 487.1 MB, free: 3.07 MB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/0.3337, allocations: 0 / 487.1 MB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004338/0.338, allocations: 2.505 MB / 489.6 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of SimCode: time 0.005342/0.3434, allocations: 4.004 MB / 493.7 MB, free: 12.48 MB / 414.1 MB Notification: Performance of Templates: time 0.04685/0.3902, allocations: 31.75 MB / 0.5131 GB, free: 12.94 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL.pipe 2>&1)