Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 104.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 194.9 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009711/0.0009711, allocations: 35.94 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2146, allocations: 49.44 MB / 401.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL): time 0.005831/0.2204, allocations: 4.7 MB / 406.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.2229, allocations: 1.344 MB / 407.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005212/0.2235, allocations: 15.94 kB / 407.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.2239, allocations: 126.8 kB / 407.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006441/0.2245, allocations: 198.4 kB / 407.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.2252, allocations: 287.5 kB / 408.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009533/0.2261, allocations: 0.8929 MB / 409 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005725/0.2267, allocations: 401.7 kB / 409.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.2271, allocations: 330.8 kB / 409.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.2276, allocations: 366.3 kB / 410.1 MB, free: 180 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.2278, allocations: 87.94 kB / 410.2 MB, free: 92 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.2279, allocations: 80 kB / 410.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.2281, allocations: 183.5 kB / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.2285, allocations: 394.1 kB / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008458/0.2293, allocations: 0.9627 MB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2293, allocations: 4 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2294, allocations: 0 / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.2294, allocations: 4 kB / 411.8 MB, free: 14.47 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.00187/0.2313, allocations: 1.026 MB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2313, allocations: 8.031 kB / 412.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.2315, allocations: 83.91 kB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.2322, allocations: 499 kB / 413.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-05/0.2322, allocations: 61.61 kB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-05/0.2323, allocations: 60.38 kB / 413.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.2335, allocations: 0.682 MB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.2335, allocations: 3.906 kB / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.2336, allocations: 31.98 kB / 414.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.2336, allocations: 15.98 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000975/0.2346, allocations: 0.4931 MB / 414.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.2384, allocations: 2.29 MB / 417 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.2393, allocations: 485.4 kB / 417.5 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006095/0.2399, allocations: 289.4 kB / 417.8 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.2399, allocations: 4.375 kB / 417.8 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007905/0.2407, allocations: 352.6 kB / 418.1 MB, free: 7.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 1.933e-06/0.2408, allocations: 0 / 418.1 MB, free: 7.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.001958/0.2427, allocations: 0.8321 MB / 419 MB, free: 6.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.2428, allocations: 166.6 kB / 419.1 MB, free: 6.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.2434, allocations: 453.8 kB / 419.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.2434, allocations: 49.69 kB / 419.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.2437, allocations: 308.3 kB / 419.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.2438, allocations: 161.8 kB / 420.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.244, allocations: 114.2 kB / 420.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2442, allocations: 366.8 kB / 420.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.2446, allocations: 195.4 kB / 420.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.2451, allocations: 358.6 kB / 421.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000784/0.2459, allocations: 0.492 MB / 421.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.2459, allocations: 3.938 kB / 421.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00118/0.2471, allocations: 0.6249 MB / 422.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2471, allocations: 8 kB / 422.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2471, allocations: 4 kB / 422.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/0.2474, allocations: 81.16 kB / 422.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.2478, allocations: 95.83 kB / 422.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.2497, allocations: 1.928 MB / 424.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.2501, allocations: 67.5 kB / 424.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.2501, allocations: 23.98 kB / 424.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004992/0.2507, allocations: 341.3 kB / 424.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004237/0.2511, allocations: 346.6 kB / 425.1 MB, free: 452 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006828/0.2518, allocations: 475.8 kB / 425.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.518e-06/0.2518, allocations: 4 kB / 425.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001004/0.2528, allocations: 0.598 MB / 426.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2528, allocations: 11.94 kB / 426.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2528, allocations: 8 kB / 426.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.2531, allocations: 80.81 kB / 426.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.2534, allocations: 91.83 kB / 426.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.2551, allocations: 1.924 MB / 428.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.2555, allocations: 71.62 kB / 428.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.2555, allocations: 23.98 kB / 428.4 MB, free: 12.96 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 25 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,pulse2.fire_n,pulse2.fire_p,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,rectifier.thyristor_n.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_p.off,rectifier.andCondition_n.y,rectifier.andCondition_p.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.2557, allocations: 232.3 kB / 428.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.2558, allocations: 59.28 kB / 428.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.2559, allocations: 65.41 kB / 428.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2559, allocations: 4 kB / 428.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2559, allocations: 4 kB / 428.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.2562, allocations: 172.3 kB / 428.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.2562, allocations: 15.98 kB / 428.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.2566, allocations: 27.97 kB / 428.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2567, allocations: 40.39 kB / 429 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001372/0.2581, allocations: 0.7105 MB / 429.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001333/0.2594, allocations: 0.9695 MB / 430.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003895/0.2598, allocations: 235.4 kB / 430.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003215/0.2601, allocations: 311.1 kB / 431.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Backend: time 3.81e-07/0.2601, allocations: 0 / 431.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00173/0.2619, allocations: 0.95 MB / 432.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of SimCode: time 0.001857/0.2637, allocations: 1.631 MB / 433.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of Templates: time 0.017/0.2808, allocations: 10.06 MB / 443.8 MB, free: 13.5 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RL/ThyristorCenterTap2Pulse_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches