Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV.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_RLV,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_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,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_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001596/0.001596, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001937/0.001937, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 359.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2194, allocations: 50.54 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV): time 0.006864/0.2263, allocations: 6.106 MB / 416.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.2294, allocations: 1.897 MB / 418 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004226/0.2298, allocations: 35.81 kB / 418 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.2303, allocations: 265.9 kB / 418.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009989/0.2314, allocations: 465.3 kB / 418.8 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007038/0.2321, allocations: 399.1 kB / 419.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002244/0.2343, allocations: 2.427 MB / 421.6 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.2363, allocations: 1.851 MB / 423.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.2374, allocations: 1.067 MB / 424.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.2388, allocations: 1.218 MB / 425.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.2392, allocations: 284 kB / 426 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.2396, allocations: 291.9 kB / 426.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005693/0.2401, allocations: 0.7169 MB / 427 MB, free: 468 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.2412, allocations: 1.213 MB / 428.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.2441, allocations: 3.553 MB / 431.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2442, allocations: 0 / 431.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.2442, allocations: 0 / 431.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.749e-05/0.2442, allocations: 3.938 kB / 431.8 MB, free: 11.67 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.004545/0.2488, allocations: 2.605 MB / 434.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2488, allocations: 12.02 kB / 434.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000838/0.2497, allocations: 294 kB / 434.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.2518, allocations: 1.432 MB / 436.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.2519, allocations: 147.6 kB / 436.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/0.2521, allocations: 184 kB / 436.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/0.2561, allocations: 2.533 MB / 438.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/0.2562, allocations: 0 / 438.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.2564, allocations: 72 kB / 439 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-05/0.2564, allocations: 75.56 kB / 439.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003651/0.2601, allocations: 2.227 MB / 441.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.2703, allocations: 7.252 MB / 448.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.2726, allocations: 1.591 MB / 450.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.2742, allocations: 0.9989 MB / 451.2 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.2743, allocations: 13 kB / 451.2 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/0.2757, allocations: 0.9142 MB / 452.1 MB, free: 6.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=119): time 3.075e-06/0.2757, allocations: 0 / 452.1 MB, free: 6.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.006903/0.2826, allocations: 3.065 MB / 455.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.2827, allocations: 153.5 kB / 455.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.2844, allocations: 1.303 MB / 456.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.2845, allocations: 61.69 kB / 456.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006199/0.2852, allocations: 0.8316 MB / 457.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.2854, allocations: 355.1 kB / 457.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.2858, allocations: 254.8 kB / 458.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2859, allocations: 361.9 kB / 458.4 MB, free: 480 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.287, allocations: 0.6657 MB / 459.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.2883, allocations: 0.9307 MB / 460 MB, free: 14.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.2904, allocations: 1.451 MB / 461.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2904, allocations: 0 / 461.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002988/0.2934, allocations: 1.934 MB / 463.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2934, allocations: 8 kB / 463.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.2935, allocations: 8 kB / 463.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009095/0.2944, allocations: 437.4 kB / 463.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.2951, allocations: 191.6 kB / 464.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005679/0.3008, allocations: 4.766 MB / 468.8 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008687/0.3017, allocations: 158.9 kB / 469 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/0.3018, allocations: 43.98 kB / 469 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001804/0.3036, allocations: 1.275 MB / 470.3 MB, free: 4.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001202/0.3048, allocations: 0.919 MB / 471.2 MB, free: 3.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002033/0.3068, allocations: 1.426 MB / 472.6 MB, free: 1.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/0.3069, allocations: 4 kB / 472.6 MB, free: 1.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization_lambda0): time 0.002938/0.3098, allocations: 1.902 MB / 474.5 MB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3098, allocations: 8 kB / 474.6 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3099, allocations: 8 kB / 474.6 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008422/0.3107, allocations: 436.9 kB / 475 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/0.3114, allocations: 191.8 kB / 475.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005659/0.3171, allocations: 4.771 MB / 479.9 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008496/0.3179, allocations: 139.2 kB / 480.1 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.318, allocations: 48 kB / 480.1 MB, free: 10.09 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 (132): * Single equations (assignments): 131 * 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.0003303/0.3184, allocations: 311.9 kB / 480.4 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.3186, allocations: 142.2 kB / 480.6 MB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.319, allocations: 173.7 kB / 480.7 MB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.319, allocations: 3.984 kB / 480.7 MB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.319, allocations: 4 kB / 480.8 MB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/0.3195, allocations: 387.1 kB / 481.1 MB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.3197, allocations: 35.98 kB / 481.2 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006754/0.3204, allocations: 75.91 kB / 481.2 MB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/0.3207, allocations: 140.8 kB / 481.4 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003846/0.3246, allocations: 1.997 MB / 483.4 MB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003554/0.3282, allocations: 2.572 MB / 485.9 MB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001093/0.3293, allocations: 0.7651 MB / 486.7 MB, free: 3.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00113/0.3304, allocations: 0.9001 MB / 487.6 MB, free: 2.551 MB / 398.1 MB Notification: Performance of Backend: time 2.31e-07/0.3304, allocations: 0 / 487.6 MB, free: 2.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004348/0.3348, allocations: 2.519 MB / 490.1 MB, free: 15.99 MB / 414.1 MB Notification: Performance of SimCode: time 0.006056/0.3408, allocations: 4.023 MB / 494.2 MB, free: 11.92 MB / 414.1 MB Notification: Performance of Templates: time 0.04648/0.3873, allocations: 31.89 MB / 0.5137 GB, free: 12.24 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV.pipe 2>&1)