Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 114.9 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.001214/0.001214, allocations: 200 kB / 19.4 MB, free: 3.656 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.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 59.91 kB / 359.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2241, allocations: 50.54 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R): time 0.006591/0.2307, allocations: 4.986 MB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.2339, allocations: 1.625 MB / 416.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006832/0.2346, allocations: 31.81 kB / 416.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.2351, allocations: 186.4 kB / 416.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009436/0.2361, allocations: 318.1 kB / 417.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006441/0.2367, allocations: 307.5 kB / 417.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001521/0.2383, allocations: 1.655 MB / 419.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.2397, allocations: 1.415 MB / 420.5 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000728/0.2405, allocations: 0.7399 MB / 421.2 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008053/0.2413, allocations: 0.8209 MB / 422.1 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002453/0.2416, allocations: 200 kB / 422.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.2419, allocations: 200 kB / 422.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004071/0.2423, allocations: 0.4909 MB / 422.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007314/0.243, allocations: 0.8554 MB / 423.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.245, allocations: 2.474 MB / 426.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.245, allocations: 0 / 426.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.245, allocations: 4 kB / 426.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.2451, allocations: 0 / 426.3 MB, free: 1.18 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.003154/0.2482, allocations: 1.908 MB / 428.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2483, allocations: 11.97 kB / 428.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004981/0.2488, allocations: 198.9 kB / 428.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.2504, allocations: 1.017 MB / 429.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.2505, allocations: 106.9 kB / 429.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.2507, allocations: 144 kB / 429.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.2533, allocations: 1.791 MB / 431.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.2534, allocations: 0 / 431.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.2535, allocations: 59.98 kB / 431.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-05/0.2536, allocations: 50.59 kB / 431.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/0.256, allocations: 1.525 MB / 433.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007044/0.263, allocations: 4.972 MB / 438 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.2646, allocations: 1.092 MB / 439.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.2656, allocations: 0.6246 MB / 439.8 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.2657, allocations: 8.656 kB / 439.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009894/0.2667, allocations: 0.665 MB / 440.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.335e-06/0.2667, allocations: 0 / 440.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.00375/0.2705, allocations: 1.871 MB / 442.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.01e-05/0.2706, allocations: 187.1 kB / 442.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.2716, allocations: 0.8951 MB / 443.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/0.2717, allocations: 57.69 kB / 443.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/0.2721, allocations: 0.6084 MB / 444 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.2723, allocations: 260.4 kB / 444.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.2726, allocations: 202.5 kB / 444.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2727, allocations: 345.9 kB / 444.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007587/0.2735, allocations: 480.5 kB / 445.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009154/0.2744, allocations: 0.7241 MB / 446 MB, free: 12.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.276, allocations: 1.1 MB / 447.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.276, allocations: 4 kB / 447.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002092/0.2781, allocations: 1.38 MB / 448.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2781, allocations: 8 kB / 448.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2781, allocations: 8 kB / 448.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.2787, allocations: 235.6 kB / 448.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.2792, allocations: 155.8 kB / 448.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00352/0.2828, allocations: 3.168 MB / 452.1 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/0.2834, allocations: 131.1 kB / 452.2 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-05/0.2835, allocations: 39.98 kB / 452.2 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/0.2846, allocations: 0.8961 MB / 453.1 MB, free: 5.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008509/0.2855, allocations: 0.7085 MB / 453.8 MB, free: 4.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001393/0.2869, allocations: 1.076 MB / 454.9 MB, free: 3.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/0.2869, allocations: 4 kB / 454.9 MB, free: 3.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.00199/0.2889, allocations: 1.36 MB / 456.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2889, allocations: 11.94 kB / 456.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2889, allocations: 4 kB / 456.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004641/0.2894, allocations: 232.8 kB / 456.5 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.2899, allocations: 151.7 kB / 456.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.2934, allocations: 3.165 MB / 459.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006243/0.294, allocations: 119.3 kB / 460 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.2941, allocations: 47.94 kB / 460 MB, free: 14.29 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 (111): * Single equations (assignments): 110 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002488/0.2944, allocations: 283.6 kB / 460.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.2945, allocations: 98.78 kB / 460.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.2947, allocations: 117.8 kB / 460.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.2948, allocations: 3.984 kB / 460.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2948, allocations: 8 kB / 460.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/0.2953, allocations: 279.7 kB / 460.8 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.2954, allocations: 23.98 kB / 460.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004826/0.2959, allocations: 67.92 kB / 460.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.2961, allocations: 104.8 kB / 461 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00252/0.2987, allocations: 1.403 MB / 462.4 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002601/0.3013, allocations: 1.905 MB / 464.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007946/0.3021, allocations: 0.5426 MB / 464.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007561/0.3028, allocations: 0.6122 MB / 465.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of Backend: time 8.82e-07/0.3029, allocations: 4 kB / 465.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003163/0.306, allocations: 1.821 MB / 467.3 MB, free: 6.945 MB / 382.1 MB Notification: Performance of SimCode: time 0.004177/0.3102, allocations: 2.855 MB / 470.1 MB, free: 4.043 MB / 382.1 MB Notification: Performance of Templates: time 0.03263/0.3429, allocations: 21.28 MB / 491.4 MB, free: 14.95 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/ThyristorCenterTapmPulse_R/ThyristorCenterTapmPulse_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches