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_RLV.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000913/0.000913, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008158/0.0008158, allocations: 94.05 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.908e-05, allocations: 4 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3292/0.4443, allocations: 88.33 MB / 475.8 MB, free: 6.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/0.4447, allocations: 83.95 kB / 475.9 MB, free: 6.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03664/0.4814, allocations: 13.94 MB / 489.8 MB, free: 8.406 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4814, allocations: 0 / 489.8 MB, free: 8.406 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.778e-05/0.4814, allocations: 12 kB / 489.8 MB, free: 8.395 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001384/0.4828, allocations: 0.8707 MB / 490.7 MB, free: 7.473 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4829, allocations: 12.03 kB / 490.7 MB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.483, allocations: 86.97 kB / 490.8 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006811/0.4837, allocations: 496.4 kB / 491.3 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.4838, allocations: 24 kB / 491.3 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.589e-05/0.4838, allocations: 40 kB / 491.4 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007421/0.4846, allocations: 430.5 kB / 491.8 MB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009198/0.4855, allocations: 0.5699 MB / 492.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.4856, allocations: 0 / 492.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.4856, allocations: 7.984 kB / 492.4 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.4856, allocations: 16 kB / 492.4 MB, free: 5.746 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/0.4889, allocations: 2.284 MB / 494.7 MB, free: 3.359 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006406/0.4896, allocations: 413.7 kB / 495.1 MB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.4901, allocations: 242.3 kB / 495.3 MB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.4901, allocations: 4 kB / 495.3 MB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.4906, allocations: 311.3 kB / 495.6 MB, free: 2.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.415e-06/0.4906, allocations: 0 / 495.6 MB, free: 2.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.0007557/0.4914, allocations: 420.5 kB / 496 MB, free: 1.961 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.4915, allocations: 170.7 kB / 496.2 MB, free: 1.758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.4919, allocations: 369 kB / 496.5 MB, free: 1.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.4919, allocations: 33.7 kB / 496.6 MB, free: 1.355 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.4922, allocations: 324.1 kB / 496.9 MB, free: 1.031 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.4923, allocations: 145.9 kB / 497 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.4924, allocations: 3.938 kB / 497 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4925, allocations: 362.7 kB / 497.4 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.4928, allocations: 153.5 kB / 497.5 MB, free: 376 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.4931, allocations: 318 kB / 497.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.4934, allocations: 172.7 kB / 498 MB, free: 15.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4934, allocations: 0 / 498 MB, free: 15.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007431/0.4942, allocations: 0.5197 MB / 498.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005678/0.4948, allocations: 1.669 MB / 0.4885 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4948, allocations: 4 kB / 0.4885 GB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.4951, allocations: 72.83 kB / 0.4886 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.4955, allocations: 95.83 kB / 0.4886 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.4969, allocations: 1.694 MB / 0.4903 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.4974, allocations: 75.55 kB / 0.4904 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.4975, allocations: 20 kB / 0.4904 GB, free: 11.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.4975, allocations: 8.062 kB / 0.4904 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006529/0.4981, allocations: 434.9 kB / 0.4908 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4981, allocations: 4.531 kB / 0.4908 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.4983, allocations: 88.97 kB / 0.4909 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.4987, allocations: 91.83 kB / 0.491 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.5001, allocations: 1.702 MB / 0.4927 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.5005, allocations: 59.72 kB / 0.4927 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.5005, allocations: 20 kB / 0.4927 GB, free: 8.898 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001726/0.5007, allocations: 140.7 kB / 0.4929 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.106e-05/0.5008, allocations: 55.34 kB / 0.4929 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.5009, allocations: 53 kB / 0.493 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5009, allocations: 4 kB / 0.493 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5009, allocations: 7.953 kB / 0.493 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.501, allocations: 0 / 0.493 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.5026, allocations: 1.195 MB / 0.4941 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5026, allocations: 0 / 0.4941 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.5029, allocations: 63.88 kB / 0.4942 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.5031, allocations: 68.81 kB / 0.4943 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.5031, allocations: 7.984 kB / 0.4943 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.5046, allocations: 1.58 MB / 0.4958 GB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5046, allocations: 3.938 kB / 0.4958 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/0.5056, allocations: 0.7518 MB / 0.4966 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.5058, allocations: 168.5 kB / 0.4967 GB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-05/0.5059, allocations: 8 kB / 0.4967 GB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.5062, allocations: 39.95 kB / 0.4968 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.5064, allocations: 56.31 kB / 0.4968 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.5064, allocations: 16 kB / 0.4968 GB, free: 4.469 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003333/0.5068, allocations: 278.9 kB / 0.4971 GB, free: 4.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5068, allocations: 0 / 0.4971 GB, free: 4.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009723/0.5077, allocations: 274.9 kB / 0.4974 GB, free: 3.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002004/0.508, allocations: 133.4 kB / 0.4975 GB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.5092, allocations: 0.9022 MB / 0.4984 GB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5093, allocations: 0 / 0.4984 GB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.5096, allocations: 343.7 kB / 0.4987 GB, free: 2.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.5101, allocations: 76.52 kB / 0.4988 GB, free: 2.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.5116, allocations: 0.8633 MB / 0.4996 GB, free: 1.551 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.5121, allocations: 0.9419 MB / 0.5005 GB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004033/0.5125, allocations: 116.3 kB / 0.5006 GB, free: 480 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.5126, allocations: 31.44 kB / 0.5007 GB, free: 448 kB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.5126, allocations: 7.938 kB / 0.5007 GB, free: 440 kB / 378.7 MB Notification: Performance of Templates: time 0.01225/0.5248, allocations: 7.238 MB / 0.5078 GB, free: 9.305 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV/ThyristorCenterTap2Pulse_RLV.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches