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.001544/0.001544, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001936/0.001936, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2163, allocations: 50.54 MB / 410 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL): time 0.006613/0.2229, allocations: 5.091 MB / 415.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003135/0.2261, allocations: 1.629 MB / 416.7 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006768/0.2268, allocations: 27.88 kB / 416.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005473/0.2274, allocations: 194.4 kB / 416.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.2285, allocations: 326 kB / 417.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.2292, allocations: 319.5 kB / 417.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.2311, allocations: 1.683 MB / 419.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.2329, allocations: 1.424 MB / 420.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000948/0.2338, allocations: 0.7476 MB / 421.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.235, allocations: 0.8209 MB / 422.2 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003835/0.2354, allocations: 204 kB / 422.4 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.2358, allocations: 212 kB / 422.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.2363, allocations: 0.5025 MB / 423.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008022/0.2371, allocations: 0.8593 MB / 424 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.2391, allocations: 2.492 MB / 426.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2391, allocations: 0 / 426.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2391, allocations: 0 / 426.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.2392, allocations: 0 / 426.5 MB, free: 1.145 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.003226/0.2424, allocations: 1.948 MB / 428.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2424, allocations: 8.031 kB / 428.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005174/0.243, allocations: 190.9 kB / 428.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.2447, allocations: 1.036 MB / 429.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.268e-05/0.2448, allocations: 107 kB / 429.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.245, allocations: 140.1 kB / 429.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.2477, allocations: 1.812 MB / 431.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.2477, allocations: 3.938 kB / 431.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.2478, allocations: 56 kB / 431.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.886e-05/0.2479, allocations: 58.62 kB / 431.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.2503, allocations: 1.533 MB / 433.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007363/0.2577, allocations: 5.053 MB / 438.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.2593, allocations: 1.106 MB / 439.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.2603, allocations: 0.629 MB / 440.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.555e-05/0.2604, allocations: 12.59 kB / 440.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.2614, allocations: 0.6727 MB / 440.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.786e-06/0.2614, allocations: 4 kB / 440.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.00366/0.2651, allocations: 1.84 MB / 442.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/0.2652, allocations: 183.1 kB / 442.9 MB, free: 384 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.2663, allocations: 0.8991 MB / 443.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/0.2663, allocations: 65.72 kB / 443.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.2668, allocations: 0.6084 MB / 444.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.2671, allocations: 268.4 kB / 444.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.2674, allocations: 206.9 kB / 444.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2675, allocations: 345.9 kB / 445.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007563/0.2683, allocations: 481.8 kB / 445.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009243/0.2692, allocations: 0.7389 MB / 446.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.2707, allocations: 1.107 MB / 447.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.2707, allocations: 4 kB / 447.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00211/0.2729, allocations: 1.388 MB / 449 MB, free: 10.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2729, allocations: 8 kB / 449 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2729, allocations: 8 kB / 449 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005238/0.2734, allocations: 228.3 kB / 449.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.274, allocations: 159.7 kB / 449.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.2773, allocations: 3.032 MB / 452.4 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006603/0.278, allocations: 135 kB / 452.5 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/0.278, allocations: 40 kB / 452.6 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00128/0.2793, allocations: 0.9006 MB / 453.5 MB, free: 5.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008598/0.2802, allocations: 0.7194 MB / 454.2 MB, free: 4.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001449/0.2817, allocations: 1.092 MB / 455.3 MB, free: 3.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.999e-06/0.2817, allocations: 4 kB / 455.3 MB, free: 3.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.001996/0.2837, allocations: 1.359 MB / 456.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2837, allocations: 8.844 kB / 456.6 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2837, allocations: 8 kB / 456.6 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004438/0.2842, allocations: 220.9 kB / 456.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.2847, allocations: 155.7 kB / 457 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/0.2879, allocations: 3.049 MB / 460.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/0.2885, allocations: 115.3 kB / 460.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.2886, allocations: 43.98 kB / 460.2 MB, free: 14.26 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.0002815/0.2889, allocations: 284 kB / 460.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.289, allocations: 98.78 kB / 460.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.2893, allocations: 125.9 kB / 460.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.2893, allocations: 3.984 kB / 460.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2893, allocations: 4 kB / 460.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/0.2898, allocations: 287.6 kB / 461 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.2899, allocations: 31.92 kB / 461 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.2904, allocations: 59.92 kB / 461.1 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/0.2906, allocations: 112.8 kB / 461.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002382/0.293, allocations: 1.399 MB / 462.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002429/0.2954, allocations: 1.909 MB / 464.5 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00074/0.2962, allocations: 0.5543 MB / 465.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007319/0.2969, allocations: 0.6161 MB / 465.7 MB, free: 8.73 MB / 382.1 MB Notification: Performance of Backend: time 2.91e-07/0.2969, allocations: 0 / 465.7 MB, free: 8.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003088/0.3, allocations: 1.809 MB / 467.5 MB, free: 6.891 MB / 382.1 MB Notification: Performance of SimCode: time 0.00388/0.3039, allocations: 2.949 MB / 470.4 MB, free: 3.895 MB / 382.1 MB Notification: Performance of Templates: time 0.03262/0.3366, allocations: 21.26 MB / 491.7 MB, free: 14.81 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)