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.0011/0.0011, allocations: 112.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 210.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 71.88 kB / 359.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2205, allocations: 50.54 MB / 410 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R): time 0.006164/0.2267, allocations: 4.977 MB / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003005/0.2297, allocations: 1.617 MB / 416.6 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.2301, allocations: 27.88 kB / 416.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.2305, allocations: 194.4 kB / 416.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006979/0.2312, allocations: 326.1 kB / 417.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.2317, allocations: 315.5 kB / 417.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.2332, allocations: 1.651 MB / 419.1 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.2347, allocations: 1.427 MB / 420.5 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007127/0.2354, allocations: 0.7398 MB / 421.3 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008041/0.2362, allocations: 0.8132 MB / 422.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.2364, allocations: 204 kB / 422.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.2368, allocations: 204 kB / 422.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003983/0.2372, allocations: 0.4948 MB / 423 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007165/0.2379, allocations: 0.8554 MB / 423.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.2399, allocations: 2.479 MB / 426.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2399, allocations: 7.922 kB / 426.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.24, allocations: 0 / 426.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.24, allocations: 0 / 426.3 MB, free: 1.215 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.002925/0.2429, allocations: 1.949 MB / 428.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.2429, allocations: 12.03 kB / 428.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004808/0.2434, allocations: 199.8 kB / 428.5 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.2448, allocations: 1.025 MB / 429.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.88e-05/0.2449, allocations: 110.9 kB / 429.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.2451, allocations: 140.1 kB / 429.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.2477, allocations: 1.788 MB / 431.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.2477, allocations: 8 kB / 431.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.2479, allocations: 52 kB / 431.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-05/0.2479, allocations: 54.58 kB / 431.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.2503, allocations: 1.525 MB / 433.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006667/0.257, allocations: 4.997 MB / 438.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.2585, allocations: 1.08 MB / 439.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009726/0.2595, allocations: 0.6245 MB / 439.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.2596, allocations: 8.656 kB / 439.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009438/0.2605, allocations: 0.6689 MB / 440.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.234e-06/0.2605, allocations: 0 / 440.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.003789/0.2643, allocations: 1.879 MB / 442.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/0.2644, allocations: 175.2 kB / 442.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.2655, allocations: 0.8992 MB / 443.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.173e-05/0.2656, allocations: 57.69 kB / 443.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/0.266, allocations: 0.6216 MB / 444.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.2662, allocations: 265.9 kB / 444.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.2665, allocations: 206.5 kB / 444.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2667, allocations: 345.9 kB / 445 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007628/0.2674, allocations: 480.5 kB / 445.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009112/0.2684, allocations: 0.728 MB / 446.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.2699, allocations: 1.1 MB / 447.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.2699, allocations: 4 kB / 447.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002055/0.272, allocations: 1.384 MB / 448.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.272, allocations: 8 kB / 448.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.272, allocations: 8 kB / 448.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/0.2725, allocations: 232.8 kB / 448.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/0.2731, allocations: 156 kB / 449 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003354/0.2765, allocations: 3.165 MB / 452.2 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.2771, allocations: 135.3 kB / 452.3 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.2772, allocations: 40 kB / 452.4 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001297/0.2785, allocations: 0.8999 MB / 453.3 MB, free: 5.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008922/0.2794, allocations: 0.7124 MB / 454 MB, free: 4.629 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001466/0.2809, allocations: 1.076 MB / 455.1 MB, free: 3.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.169e-06/0.2809, allocations: 4 kB / 455.1 MB, free: 3.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.002019/0.2829, allocations: 1.361 MB / 456.4 MB, free: 2.078 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2829, allocations: 11.98 kB / 456.5 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2829, allocations: 8 kB / 456.5 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004709/0.2834, allocations: 228.6 kB / 456.7 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/0.2839, allocations: 144 kB / 456.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/0.2873, allocations: 3.169 MB / 460 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/0.288, allocations: 123.5 kB / 460.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.288, allocations: 47.92 kB / 460.2 MB, free: 14.22 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.0002637/0.2883, allocations: 280.1 kB / 460.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.2884, allocations: 99.34 kB / 460.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.2887, allocations: 121.8 kB / 460.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.2887, allocations: 11.92 kB / 460.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2887, allocations: 0 / 460.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.2891, allocations: 292.2 kB / 460.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.2892, allocations: 23.98 kB / 461 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.2897, allocations: 67.92 kB / 461 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.29, allocations: 104.8 kB / 461.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002394/0.2924, allocations: 1.392 MB / 462.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002474/0.2948, allocations: 1.906 MB / 464.4 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007714/0.2956, allocations: 0.5504 MB / 465 MB, free: 9.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007548/0.2964, allocations: 0.6122 MB / 465.6 MB, free: 8.723 MB / 382.1 MB Notification: Performance of Backend: time 3.01e-07/0.2964, allocations: 0 / 465.6 MB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002967/0.2994, allocations: 1.828 MB / 467.4 MB, free: 6.863 MB / 382.1 MB Notification: Performance of SimCode: time 0.003594/0.303, allocations: 2.91 MB / 470.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of Templates: time 0.03187/0.3349, allocations: 21.28 MB / 491.6 MB, free: 14.79 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