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_RLV.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_RLV,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_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,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_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.00108/0.00108, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.92 kB / 352 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.216, allocations: 49.42 MB / 401.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV): time 0.005828/0.2219, allocations: 5.092 MB / 406.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.2241, allocations: 1.447 MB / 408 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002775/0.2243, allocations: 19.88 kB / 408 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.2247, allocations: 150.5 kB / 408.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.2251, allocations: 218.2 kB / 408.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.2257, allocations: 323.5 kB / 408.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000853/0.2265, allocations: 1.025 MB / 409.7 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006142/0.2272, allocations: 494.4 kB / 410.2 MB, free: 52 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.2275, allocations: 378.7 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004203/0.228, allocations: 410.1 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.2281, allocations: 96 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.2283, allocations: 104 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.2284, allocations: 207.3 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003647/0.2288, allocations: 449.8 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008878/0.2297, allocations: 1.117 MB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2297, allocations: 0 / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2297, allocations: 0 / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.2297, allocations: 0 / 412.9 MB, free: 13.32 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001836/0.2316, allocations: 1.124 MB / 414.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2316, allocations: 8.031 kB / 414.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.2318, allocations: 91.91 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.2325, allocations: 0.5305 MB / 414.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/0.2326, allocations: 54.38 kB / 414.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.2327, allocations: 72.38 kB / 414.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.2339, allocations: 0.7874 MB / 415.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.234, allocations: 3.938 kB / 415.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.234, allocations: 28 kB / 415.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.2341, allocations: 19.98 kB / 415.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.2351, allocations: 0.5778 MB / 416.2 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.2387, allocations: 2.677 MB / 418.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009501/0.2397, allocations: 0.5988 MB / 419.5 MB, free: 6.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.2408, allocations: 0.506 MB / 420 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.2408, allocations: 8.562 kB / 420 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000648/0.2415, allocations: 401.7 kB / 420.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.394e-06/0.2415, allocations: 0 / 420.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=62): time 0.002778/0.2443, allocations: 1.193 MB / 421.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.2444, allocations: 141.1 kB / 421.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/0.2449, allocations: 497.9 kB / 422.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.245, allocations: 41.7 kB / 422.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.2452, allocations: 344.2 kB / 422.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.2453, allocations: 189.3 kB / 422.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.2455, allocations: 126.7 kB / 422.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2457, allocations: 370.7 kB / 423.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.2461, allocations: 236.8 kB / 423.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/0.2466, allocations: 393.3 kB / 423.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000837/0.2474, allocations: 0.5539 MB / 424.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.2475, allocations: 4 kB / 424.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00128/0.2487, allocations: 0.7773 MB / 425.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2488, allocations: 8 kB / 425.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2488, allocations: 4 kB / 425.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004795/0.2493, allocations: 161.6 kB / 425.4 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.2497, allocations: 99.81 kB / 425.5 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003571/0.2532, allocations: 3.985 MB / 429.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.2537, allocations: 79.41 kB / 429.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.2537, allocations: 27.97 kB / 429.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005491/0.2543, allocations: 390.1 kB / 430 MB, free: 11.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004814/0.2548, allocations: 386.8 kB / 430.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007369/0.2555, allocations: 0.5305 MB / 430.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.2555, allocations: 4 kB / 430.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001211/0.2568, allocations: 0.7456 MB / 431.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.2568, allocations: 4.531 kB / 431.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2568, allocations: 8.188 kB / 431.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004105/0.2572, allocations: 161.6 kB / 431.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.2576, allocations: 91.83 kB / 431.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003556/0.2611, allocations: 3.989 MB / 435.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.2616, allocations: 67.5 kB / 435.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.2616, allocations: 24 kB / 436 MB, free: 5.059 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 (69): * Single equations (assignments): 67 * 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.000228/0.2619, allocations: 240.2 kB / 436.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.262, allocations: 67.23 kB / 436.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.2621, allocations: 73.55 kB / 436.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.2622, allocations: 3.984 kB / 436.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2622, allocations: 0 / 436.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.2624, allocations: 192.2 kB / 436.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.2625, allocations: 23.94 kB / 436.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.2629, allocations: 31.91 kB / 436.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.263, allocations: 56.48 kB / 436.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00178/0.2648, allocations: 0.7815 MB / 437.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001485/0.2663, allocations: 1.021 MB / 438.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004181/0.2667, allocations: 260.3 kB / 438.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003686/0.2671, allocations: 330.9 kB / 439 MB, free: 1.945 MB / 350.1 MB Notification: Performance of Backend: time 2.21e-07/0.2671, allocations: 0 / 439 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.2693, allocations: 1.379 MB / 440.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of SimCode: time 0.002218/0.2715, allocations: 1.833 MB / 442.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of Templates: time 0.01977/0.2913, allocations: 13.07 MB / 455.3 MB, free: 1.742 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV/ThyristorBridge2Pulse_RLV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches