Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,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_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,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_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 111 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.001087/0.001087, allocations: 207.9 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 55.91 kB / 359.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2141, allocations: 50.54 MB / 410 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV): time 0.006053/0.2202, allocations: 5.196 MB / 415.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.2227, allocations: 1.652 MB / 416.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.223, allocations: 35.81 kB / 416.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.2234, allocations: 202.4 kB / 417.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007867/0.2242, allocations: 338 kB / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.2248, allocations: 327.4 kB / 417.7 MB, free: 9.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.2263, allocations: 1.706 MB / 419.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.2278, allocations: 1.423 MB / 420.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007109/0.2285, allocations: 0.771 MB / 421.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008639/0.2294, allocations: 0.8365 MB / 422.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.2296, allocations: 204 kB / 422.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.23, allocations: 208 kB / 422.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004214/0.2304, allocations: 0.5064 MB / 423.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007411/0.2311, allocations: 0.871 MB / 424.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.2331, allocations: 2.521 MB / 426.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2331, allocations: 4 kB / 426.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2331, allocations: 8 kB / 426.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.2331, allocations: 0 / 426.8 MB, free: 0.6914 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003268/0.2364, allocations: 1.95 MB / 428.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2365, allocations: 12.03 kB / 428.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005253/0.237, allocations: 202.8 kB / 428.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.2386, allocations: 1.036 MB / 430 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/0.2387, allocations: 119 kB / 430.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.2389, allocations: 136.1 kB / 430.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.2417, allocations: 1.828 MB / 432 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.2417, allocations: 3.938 kB / 432 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.2419, allocations: 55.98 kB / 432.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.329e-05/0.2419, allocations: 62.67 kB / 432.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.2444, allocations: 1.548 MB / 433.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007273/0.2517, allocations: 5.093 MB / 438.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.2533, allocations: 1.106 MB / 439.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.2543, allocations: 0.6369 MB / 440.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.2544, allocations: 16.64 kB / 440.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.2554, allocations: 0.6766 MB / 441.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.565e-06/0.2554, allocations: 0 / 441.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=90): time 0.003639/0.2591, allocations: 1.852 MB / 443.1 MB, free: 16 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/0.2592, allocations: 171.2 kB / 443.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.2603, allocations: 0.9149 MB / 444.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-05/0.2603, allocations: 57.69 kB / 444.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.2608, allocations: 0.6201 MB / 444.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.261, allocations: 276.2 kB / 445.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/0.2613, allocations: 202.9 kB / 445.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2614, allocations: 353.9 kB / 445.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007744/0.2622, allocations: 485.8 kB / 446.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009305/0.2632, allocations: 0.735 MB / 446.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.2647, allocations: 1.115 MB / 448 MB, free: 10.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2647, allocations: 0 / 448 MB, free: 10.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00213/0.2669, allocations: 1.395 MB / 449.4 MB, free: 9.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2669, allocations: 8 kB / 449.4 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.2669, allocations: 11.94 kB / 449.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004984/0.2674, allocations: 221.2 kB / 449.6 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.268, allocations: 171.7 kB / 449.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/0.2713, allocations: 3.032 MB / 452.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006471/0.272, allocations: 135.1 kB / 453 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.272, allocations: 40 kB / 453 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001217/0.2733, allocations: 0.9006 MB / 453.9 MB, free: 4.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008858/0.2742, allocations: 0.7311 MB / 454.6 MB, free: 3.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001433/0.2756, allocations: 1.088 MB / 455.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/0.2756, allocations: 4 kB / 455.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=129) (initialization_lambda0): time 0.00201/0.2776, allocations: 1.364 MB / 457.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2777, allocations: 10.81 kB / 457.1 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2777, allocations: 8 kB / 457.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000425/0.2781, allocations: 216.9 kB / 457.3 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/0.2787, allocations: 163.6 kB / 457.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003243/0.2819, allocations: 3.037 MB / 460.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006529/0.2826, allocations: 131.2 kB / 460.6 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.2827, allocations: 40 kB / 460.7 MB, free: 13.62 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 (117): * Single equations (assignments): 116 * 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.0002523/0.2829, allocations: 291.4 kB / 461 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.2831, allocations: 98.78 kB / 461.1 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.2833, allocations: 122.1 kB / 461.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.2834, allocations: 11.92 kB / 461.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2834, allocations: 0 / 461.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/0.2838, allocations: 287.6 kB / 461.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.284, allocations: 31.98 kB / 461.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005099/0.2845, allocations: 67.92 kB / 461.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.2847, allocations: 104.8 kB / 461.7 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002516/0.2872, allocations: 1.411 MB / 463.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002535/0.2898, allocations: 1.928 MB / 465 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000764/0.2905, allocations: 0.5543 MB / 465.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007422/0.2913, allocations: 0.6239 MB / 466.2 MB, free: 8.055 MB / 382.1 MB Notification: Performance of Backend: time 2.3e-07/0.2913, allocations: 0 / 466.2 MB, free: 8.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003072/0.2944, allocations: 1.806 MB / 468 MB, free: 6.219 MB / 382.1 MB Notification: Performance of SimCode: time 0.003932/0.2983, allocations: 2.963 MB / 471 MB, free: 3.207 MB / 382.1 MB Notification: Performance of Templates: time 0.0316/0.3299, allocations: 21.39 MB / 492.3 MB, free: 13.98 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/ThyristorCenterTapmPulse_RLV/ThyristorCenterTapmPulse_RLV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches