Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 110.9 kB / 17.75 MB, free: 5.305 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.001132/0.001132, allocations: 190.6 kB / 18.68 MB, free: 4.375 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 47.92 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2266, allocations: 49.44 MB / 401.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.005936/0.2326, allocations: 4.987 MB / 406.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.2349, allocations: 1.422 MB / 407.9 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003308/0.2353, allocations: 23.88 kB / 407.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.2356, allocations: 142.7 kB / 408 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004741/0.2361, allocations: 218.1 kB / 408.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.2367, allocations: 322.3 kB / 408.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008827/0.2376, allocations: 1.006 MB / 409.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006067/0.2382, allocations: 478.1 kB / 410 MB, free: 236 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.2386, allocations: 374.6 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.239, allocations: 394.2 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.2392, allocations: 96 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.2393, allocations: 96 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.2395, allocations: 207.3 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003943/0.2399, allocations: 441.8 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.241, allocations: 1.09 MB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.241, allocations: 4 kB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.241, allocations: 0 / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.2411, allocations: 3.938 kB / 412.7 MB, free: 13.55 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001934/0.243, allocations: 1.12 MB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.243, allocations: 11.97 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.2432, allocations: 96.38 kB / 413.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.2439, allocations: 0.5232 MB / 414.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-05/0.244, allocations: 58.36 kB / 414.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2441, allocations: 68.38 kB / 414.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.2453, allocations: 0.7666 MB / 415.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.2454, allocations: 4 kB / 415.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.2454, allocations: 28 kB / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.2455, allocations: 16 kB / 415.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.2465, allocations: 0.5595 MB / 416 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003559/0.2501, allocations: 2.647 MB / 418.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009493/0.2511, allocations: 0.5755 MB / 419.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009812/0.2521, allocations: 486.1 kB / 419.7 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.2521, allocations: 8.547 kB / 419.7 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006512/0.2528, allocations: 397.8 kB / 420.1 MB, free: 5.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=61): time 2.124e-06/0.2528, allocations: 0 / 420.1 MB, free: 5.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.002686/0.2555, allocations: 1.174 MB / 421.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.2556, allocations: 149 kB / 421.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.2561, allocations: 474 kB / 421.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.2562, allocations: 45.7 kB / 421.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.2564, allocations: 340.8 kB / 422.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.2565, allocations: 194.4 kB / 422.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.2567, allocations: 130.6 kB / 422.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2569, allocations: 370.7 kB / 422.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.2574, allocations: 228.8 kB / 423.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.2579, allocations: 395 kB / 423.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008401/0.2587, allocations: 0.5495 MB / 424.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.2587, allocations: 4 kB / 424.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001289/0.26, allocations: 0.7577 MB / 424.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2601, allocations: 4.531 kB / 424.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2601, allocations: 15.94 kB / 424.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/0.2606, allocations: 161.6 kB / 425 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.261, allocations: 91.83 kB / 425.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.2648, allocations: 4.001 MB / 429.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.2652, allocations: 75.55 kB / 429.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.2652, allocations: 27.98 kB / 429.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006166/0.2659, allocations: 382 kB / 429.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004703/0.2664, allocations: 385.3 kB / 429.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007513/0.2671, allocations: 0.53 MB / 430.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.2671, allocations: 4 kB / 430.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001192/0.2683, allocations: 0.7267 MB / 431.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2684, allocations: 8 kB / 431.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.2684, allocations: 7.984 kB / 431.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004351/0.2688, allocations: 165.9 kB / 431.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.2691, allocations: 91.77 kB / 431.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/0.2728, allocations: 3.99 MB / 435.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/0.2732, allocations: 75.7 kB / 435.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.2733, allocations: 24 kB / 435.5 MB, free: 5.473 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 29 (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_n2.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.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 (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.2735, allocations: 232.1 kB / 435.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.222e-05/0.2736, allocations: 75.48 kB / 435.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.2738, allocations: 69.59 kB / 435.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2738, allocations: 3.984 kB / 435.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2738, allocations: 0 / 435.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.274, allocations: 196.5 kB / 436.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.2741, allocations: 16 kB / 436.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.2744, allocations: 35.97 kB / 436.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.2746, allocations: 48.48 kB / 436.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001724/0.2763, allocations: 0.7775 MB / 437 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001468/0.2778, allocations: 1.018 MB / 438 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004146/0.2782, allocations: 252.4 kB / 438.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003516/0.2786, allocations: 326.9 kB / 438.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of Backend: time 3.8e-07/0.2786, allocations: 3.938 kB / 438.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.2808, allocations: 1.375 MB / 439.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of SimCode: time 0.002179/0.283, allocations: 1.827 MB / 441.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Templates: time 0.02004/0.303, allocations: 12.9 MB / 454.7 MB, free: 2.359 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches