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.001087/0.001087, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 359.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2186, allocations: 50.54 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV): time 0.006176/0.2248, allocations: 5.192 MB / 415.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.2277, allocations: 1.656 MB / 416.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.2281, allocations: 27.88 kB / 416.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.2286, allocations: 194.4 kB / 417.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008238/0.2294, allocations: 330 kB / 417.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.23, allocations: 327.4 kB / 417.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.2315, allocations: 1.702 MB / 419.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.233, allocations: 1.427 MB / 420.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007853/0.2338, allocations: 0.771 MB / 421.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008477/0.2347, allocations: 0.8404 MB / 422.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.2349, allocations: 204 kB / 422.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.2352, allocations: 204 kB / 422.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004201/0.2356, allocations: 0.5065 MB / 423.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007487/0.2364, allocations: 0.8593 MB / 424.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.2384, allocations: 2.525 MB / 426.7 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2384, allocations: 0 / 426.7 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2384, allocations: 4 kB / 426.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.502e-05/0.2385, allocations: 0 / 426.7 MB, free: 0.7539 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.00318/0.2417, allocations: 1.965 MB / 428.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2417, allocations: 8.031 kB / 428.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005114/0.2422, allocations: 206.8 kB / 428.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.2439, allocations: 1.029 MB / 429.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/0.244, allocations: 118.9 kB / 430.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.2442, allocations: 136.1 kB / 430.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.2469, allocations: 1.836 MB / 432 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.2469, allocations: 0 / 432 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.247, allocations: 52 kB / 432.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.026e-05/0.2471, allocations: 66.66 kB / 432.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.2495, allocations: 1.545 MB / 433.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007335/0.2569, allocations: 5.093 MB / 438.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.2584, allocations: 1.11 MB / 439.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009891/0.2595, allocations: 0.6369 MB / 440.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.2595, allocations: 16.62 kB / 440.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009806/0.2605, allocations: 0.6767 MB / 441.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 5.31e-06/0.2605, allocations: 3.984 kB / 441.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=90): time 0.003631/0.2642, allocations: 1.848 MB / 443.1 MB, free: 68 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.2643, allocations: 175.2 kB / 443.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.2654, allocations: 0.9187 MB / 444.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.314e-05/0.2654, allocations: 57.69 kB / 444.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/0.2659, allocations: 0.6201 MB / 444.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.2661, allocations: 276.2 kB / 445.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/0.2664, allocations: 202.9 kB / 445.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2666, allocations: 349.9 kB / 445.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007584/0.2674, allocations: 485.8 kB / 446.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009251/0.2683, allocations: 0.7389 MB / 446.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.2698, allocations: 1.115 MB / 448 MB, free: 10.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2698, allocations: 0 / 448 MB, free: 10.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00214/0.272, allocations: 1.391 MB / 449.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.272, allocations: 12 kB / 449.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.272, allocations: 7.938 kB / 449.4 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005156/0.2726, allocations: 224.9 kB / 449.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.2731, allocations: 171.7 kB / 449.8 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.2764, allocations: 3.021 MB / 452.8 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006792/0.2771, allocations: 139.1 kB / 452.9 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.085e-05/0.2772, allocations: 36 kB / 453 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001303/0.2785, allocations: 0.9045 MB / 453.9 MB, free: 4.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008822/0.2794, allocations: 0.7311 MB / 454.6 MB, free: 3.973 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001447/0.2808, allocations: 1.088 MB / 455.7 MB, free: 2.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/0.2808, allocations: 0 / 455.7 MB, free: 2.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=129) (initialization_lambda0): time 0.002067/0.2829, allocations: 1.368 MB / 457.1 MB, free: 1.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2829, allocations: 14.81 kB / 457.1 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.283, allocations: 4 kB / 457.1 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004509/0.2834, allocations: 224.6 kB / 457.3 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.284, allocations: 159.9 kB / 457.5 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/0.2872, allocations: 3.033 MB / 460.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006768/0.2879, allocations: 123.2 kB / 460.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.288, allocations: 44 kB / 460.7 MB, free: 13.67 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.0003176/0.2883, allocations: 284.1 kB / 460.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.2885, allocations: 98.78 kB / 461 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.2888, allocations: 126.1 kB / 461.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.2888, allocations: 11.92 kB / 461.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2888, allocations: 0 / 461.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.2893, allocations: 287.6 kB / 461.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.2894, allocations: 35.92 kB / 461.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.2899, allocations: 63.92 kB / 461.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.2901, allocations: 104.8 kB / 461.6 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002519/0.2927, allocations: 1.419 MB / 463.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002511/0.2952, allocations: 1.925 MB / 465 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007456/0.296, allocations: 0.5543 MB / 465.5 MB, free: 8.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000799/0.2968, allocations: 0.6239 MB / 466.2 MB, free: 8.105 MB / 382.1 MB Notification: Performance of Backend: time 3.51e-07/0.2968, allocations: 0 / 466.2 MB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003291/0.3001, allocations: 1.81 MB / 468 MB, free: 6.266 MB / 382.1 MB Notification: Performance of SimCode: time 0.004351/0.3044, allocations: 2.957 MB / 470.9 MB, free: 3.254 MB / 382.1 MB Notification: Performance of Templates: time 0.03467/0.3391, allocations: 21.39 MB / 492.3 MB, free: 14.04 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