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.001553/0.001553, allocations: 121.2 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.89 kB / 359.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2233, allocations: 50.54 MB / 410 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL): time 0.007267/0.2306, allocations: 5.997 MB / 416 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003532/0.2341, allocations: 1.87 MB / 417.9 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008781/0.235, allocations: 35.81 kB / 417.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006605/0.2357, allocations: 265.9 kB / 418.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.2369, allocations: 465.4 kB / 418.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007078/0.2376, allocations: 391 kB / 419 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002036/0.2397, allocations: 2.392 MB / 421.4 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.2415, allocations: 1.847 MB / 423.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009998/0.2425, allocations: 1.059 MB / 424.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.244, allocations: 1.21 MB / 425.5 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003333/0.2444, allocations: 280 kB / 425.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000426/0.2448, allocations: 292 kB / 426.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005491/0.2454, allocations: 0.709 MB / 426.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.2464, allocations: 1.205 MB / 428 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.2493, allocations: 3.538 MB / 431.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2493, allocations: 3.938 kB / 431.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2493, allocations: 0 / 431.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.111e-05/0.2493, allocations: 0 / 431.5 MB, free: 11.9 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.004292/0.2536, allocations: 2.642 MB / 434.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2537, allocations: 8.031 kB / 434.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008122/0.2545, allocations: 307.2 kB / 434.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.2565, allocations: 1.437 MB / 435.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.955e-05/0.2566, allocations: 139.9 kB / 436 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002536/0.2569, allocations: 180.1 kB / 436.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003679/0.2606, allocations: 2.513 MB / 438.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/0.2606, allocations: 0 / 438.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.2608, allocations: 79.97 kB / 438.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.292e-05/0.2609, allocations: 75.52 kB / 438.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003495/0.2644, allocations: 2.211 MB / 441.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009967/0.2744, allocations: 7.23 MB / 448.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.277, allocations: 1.582 MB / 449.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.2786, allocations: 0.9861 MB / 450.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.986e-05/0.2787, allocations: 13 kB / 450.9 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/0.2802, allocations: 0.9181 MB / 451.8 MB, free: 7.195 MB / 366.1 MB Notification: Performance of pre-optimization done (n=118): time 3.106e-06/0.2802, allocations: 0 / 451.8 MB, free: 7.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.006871/0.2871, allocations: 3.082 MB / 454.9 MB, free: 4.086 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.534e-05/0.2872, allocations: 149.5 kB / 455.1 MB, free: 3.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.2888, allocations: 1.291 MB / 456.3 MB, free: 2.602 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.2889, allocations: 69.67 kB / 456.4 MB, free: 2.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006734/0.2896, allocations: 0.8257 MB / 457.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.2899, allocations: 379 kB / 457.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000374/0.2903, allocations: 254.9 kB / 457.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2905, allocations: 353.9 kB / 458.2 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.2916, allocations: 0.6696 MB / 458.9 MB, free: 40 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.2929, allocations: 0.9307 MB / 459.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.2951, allocations: 1.445 MB / 461.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.2951, allocations: 4 kB / 461.3 MB, free: 13.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003197/0.2983, allocations: 1.935 MB / 463.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2983, allocations: 4 kB / 463.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2984, allocations: 8 kB / 463.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009354/0.2993, allocations: 446.7 kB / 463.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.3, allocations: 187.6 kB / 463.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005871/0.3059, allocations: 4.769 MB / 468.6 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/0.3068, allocations: 155.3 kB / 468.7 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-05/0.3069, allocations: 51.98 kB / 468.8 MB, free: 5.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00183/0.3087, allocations: 1.264 MB / 470.1 MB, free: 4.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001179/0.3099, allocations: 0.919 MB / 471 MB, free: 3.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001998/0.3119, allocations: 1.437 MB / 472.4 MB, free: 1.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/0.3119, allocations: 0 / 472.4 MB, free: 1.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization_lambda0): time 0.002839/0.3148, allocations: 1.911 MB / 474.3 MB, free: 56 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3148, allocations: 10.81 kB / 474.3 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3148, allocations: 4 kB / 474.3 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008668/0.3157, allocations: 437.5 kB / 474.8 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.3164, allocations: 187.9 kB / 474.9 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005652/0.322, allocations: 4.77 MB / 479.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/0.3228, allocations: 147.4 kB / 479.9 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-05/0.3229, allocations: 47.92 kB / 479.9 MB, free: 10.33 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.0003307/0.3233, allocations: 304 kB / 480.2 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.3235, allocations: 143.1 kB / 480.3 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.3238, allocations: 173.4 kB / 480.5 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.3239, allocations: 7.969 kB / 480.5 MB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3239, allocations: 4 kB / 480.5 MB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005355/0.3244, allocations: 395.8 kB / 480.9 MB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.3246, allocations: 31.98 kB / 480.9 MB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006393/0.3253, allocations: 79.91 kB / 481 MB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/0.3256, allocations: 144.8 kB / 481.2 MB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003832/0.3294, allocations: 1.986 MB / 483.2 MB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003637/0.3331, allocations: 2.576 MB / 485.7 MB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001094/0.3342, allocations: 0.7651 MB / 486.5 MB, free: 3.691 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001149/0.3354, allocations: 0.8842 MB / 487.4 MB, free: 2.801 MB / 398.1 MB Notification: Performance of Backend: time 3.2e-07/0.3354, allocations: 0 / 487.4 MB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004376/0.3397, allocations: 2.519 MB / 489.9 MB, free: 252 kB / 398.1 MB Notification: Performance of SimCode: time 0.005386/0.3451, allocations: 4.068 MB / 494 MB, free: 12.12 MB / 414.1 MB Notification: Performance of Templates: time 0.0487/0.3939, allocations: 31.76 MB / 0.5134 GB, free: 12.57 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)