Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 107.1 kB / 18.45 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 207.9 kB / 19.4 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 359.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2229, allocations: 50.53 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL): time 0.006358/0.2293, allocations: 5.09 MB / 415.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003094/0.2325, allocations: 1.644 MB / 416.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006458/0.2331, allocations: 27.88 kB / 416.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.2337, allocations: 194.4 kB / 416.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.2347, allocations: 334 kB / 417.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.2354, allocations: 319.5 kB / 417.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.237, allocations: 1.682 MB / 419.3 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.2385, allocations: 1.427 MB / 420.7 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007476/0.2392, allocations: 0.7476 MB / 421.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008525/0.2401, allocations: 0.8248 MB / 422.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.2403, allocations: 204 kB / 422.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.2407, allocations: 212 kB / 422.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004071/0.2411, allocations: 0.4986 MB / 423.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00073/0.2418, allocations: 0.8633 MB / 424 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.2439, allocations: 2.51 MB / 426.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2439, allocations: 0 / 426.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2439, allocations: 0 / 426.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.244, allocations: 0 / 426.5 MB, free: 0.9492 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003173/0.2471, allocations: 1.97 MB / 428.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2472, allocations: 8.031 kB / 428.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.2477, allocations: 211.8 kB / 428.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.2491, allocations: 1.037 MB / 429.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/0.2492, allocations: 107 kB / 429.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.2494, allocations: 140.1 kB / 430 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.252, allocations: 1.808 MB / 431.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.2521, allocations: 8 kB / 431.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.2522, allocations: 59.97 kB / 431.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/0.2523, allocations: 54.62 kB / 431.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.2547, allocations: 1.529 MB / 433.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006856/0.2616, allocations: 5.071 MB / 438.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.2632, allocations: 1.099 MB / 439.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.2642, allocations: 0.6369 MB / 440.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.2642, allocations: 16.58 kB / 440.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009863/0.2652, allocations: 0.6806 MB / 441 MB, free: 2.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.585e-06/0.2653, allocations: 0 / 441 MB, free: 2.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.003586/0.2688, allocations: 1.841 MB / 442.8 MB, free: 340 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/0.269, allocations: 171.2 kB / 443 MB, free: 132 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.27, allocations: 0.9109 MB / 443.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.76e-05/0.2701, allocations: 53.69 kB / 443.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.2706, allocations: 0.6333 MB / 444.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.2708, allocations: 277.8 kB / 444.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.2711, allocations: 206.9 kB / 445 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2712, allocations: 345.9 kB / 445.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007721/0.272, allocations: 489.7 kB / 445.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009171/0.2729, allocations: 0.7311 MB / 446.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.2745, allocations: 1.119 MB / 447.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2745, allocations: 0 / 447.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002066/0.2766, allocations: 1.391 MB / 449.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2766, allocations: 11.59 kB / 449.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2766, allocations: 4 kB / 449.1 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/0.2771, allocations: 224.3 kB / 449.3 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.2777, allocations: 155.7 kB / 449.5 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003198/0.2809, allocations: 3.029 MB / 452.5 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/0.2816, allocations: 143.3 kB / 452.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.2817, allocations: 40 kB / 452.7 MB, free: 6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/0.283, allocations: 0.9006 MB / 453.6 MB, free: 5.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009629/0.284, allocations: 0.7272 MB / 454.3 MB, free: 4.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001506/0.2855, allocations: 1.084 MB / 455.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.795e-06/0.2855, allocations: 4 kB / 455.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.002097/0.2876, allocations: 1.364 MB / 456.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2876, allocations: 8 kB / 456.8 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.2876, allocations: 8 kB / 456.8 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004422/0.2881, allocations: 217.2 kB / 457 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.2887, allocations: 163.7 kB / 457.2 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.2918, allocations: 3.038 MB / 460.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/0.2925, allocations: 123.5 kB / 460.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.2926, allocations: 43.94 kB / 460.4 MB, free: 13.97 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 (116): * Single equations (assignments): 115 * 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.2929, allocations: 284.2 kB / 460.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.293, allocations: 107.3 kB / 460.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.2933, allocations: 118 kB / 460.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.2933, allocations: 3.984 kB / 460.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2933, allocations: 4 kB / 460.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/0.2937, allocations: 296.1 kB / 461.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.2938, allocations: 24 kB / 461.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005021/0.2944, allocations: 63.92 kB / 461.2 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.2946, allocations: 104.8 kB / 461.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002524/0.2971, allocations: 1.419 MB / 462.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002569/0.2997, allocations: 1.921 MB / 464.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000821/0.3005, allocations: 0.5504 MB / 465.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007952/0.3013, allocations: 0.6161 MB / 465.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of Backend: time 3.31e-07/0.3014, allocations: 4 kB / 465.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00308/0.3044, allocations: 1.798 MB / 467.6 MB, free: 6.586 MB / 382.1 MB Notification: Performance of SimCode: time 0.004008/0.3085, allocations: 2.989 MB / 470.6 MB, free: 3.543 MB / 382.1 MB Notification: Performance of Templates: time 0.03155/0.34, allocations: 21.27 MB / 491.9 MB, free: 14.45 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe 2>&1)