Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001256/0.001256, allocations: 180.8 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009628/0.0009629, allocations: 92.16 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002806, allocations: 8 kB / 328.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2904, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.401, allocations: 87.17 MB / 463 MB, free: 9.484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.4014, allocations: 87.95 kB / 463.1 MB, free: 9.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03286/0.4342, allocations: 12.66 MB / 475.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4343, allocations: 4 kB / 475.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.452e-05/0.4343, allocations: 15.98 kB / 475.8 MB, free: 12.66 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001672/0.436, allocations: 0.879 MB / 476.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.4361, allocations: 12.02 kB / 476.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.4362, allocations: 75.16 kB / 476.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.4369, allocations: 474 kB / 477.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.437, allocations: 49.31 kB / 477.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.569e-05/0.4371, allocations: 52 kB / 477.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.4382, allocations: 0.6184 MB / 477.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4382, allocations: 3.906 kB / 477.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/0.4383, allocations: 24 kB / 477.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.4383, allocations: 12 kB / 477.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008619/0.4392, allocations: 484.9 kB / 478.4 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/0.4423, allocations: 2.226 MB / 480.6 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/0.4432, allocations: 462.1 kB / 481.1 MB, free: 7.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.4433, allocations: 4.328 kB / 481.1 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005009/0.4438, allocations: 305.1 kB / 481.4 MB, free: 6.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 4.579e-06/0.4438, allocations: 0 / 481.4 MB, free: 6.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001622/0.4454, allocations: 0.7379 MB / 482.1 MB, free: 6.004 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.4456, allocations: 111.2 kB / 482.2 MB, free: 5.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.4461, allocations: 421 kB / 482.7 MB, free: 5.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.4462, allocations: 41.7 kB / 482.7 MB, free: 5.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.4464, allocations: 304.4 kB / 483 MB, free: 5.105 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4465, allocations: 130.2 kB / 483.1 MB, free: 4.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.4465, allocations: 12 kB / 483.1 MB, free: 4.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4467, allocations: 362.8 kB / 483.5 MB, free: 4.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.4471, allocations: 181 kB / 483.7 MB, free: 4.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.4475, allocations: 318.8 kB / 484 MB, free: 4.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.4479, allocations: 204.1 kB / 484.2 MB, free: 3.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4479, allocations: 4 kB / 484.2 MB, free: 3.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009948/0.4489, allocations: 0.5716 MB / 484.8 MB, free: 3.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008117/0.4497, allocations: 1.587 MB / 486.3 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.4497, allocations: 4 kB / 486.3 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.4501, allocations: 84.81 kB / 486.4 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.4504, allocations: 83.88 kB / 486.5 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.4523, allocations: 1.862 MB / 488.4 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.4527, allocations: 83.61 kB / 488.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.4528, allocations: 20 kB / 488.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.4528, allocations: 4 kB / 488.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007656/0.4536, allocations: 488.3 kB / 488.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4536, allocations: 8 kB / 489 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/0.4538, allocations: 93.25 kB / 489 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.4541, allocations: 71.91 kB / 489.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.4558, allocations: 1.856 MB / 491 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.4561, allocations: 71.62 kB / 491 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.4561, allocations: 20 kB / 491.1 MB, free: 12.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003371/0.4565, allocations: 304.9 kB / 491.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.4566, allocations: 47.44 kB / 491.4 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.4567, allocations: 53.05 kB / 491.5 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.4567, allocations: 8 kB / 491.5 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4567, allocations: 11.89 kB / 491.5 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.4567, allocations: 3.984 kB / 491.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.4584, allocations: 1.147 MB / 492.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4584, allocations: 0 / 492.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.4586, allocations: 47.91 kB / 492.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/0.4588, allocations: 76.75 kB / 492.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.4589, allocations: 15.98 kB / 492.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.4606, allocations: 1.769 MB / 494.5 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.4606, allocations: 4.031 kB / 494.5 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.4618, allocations: 0.7398 MB / 495.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.462, allocations: 172.4 kB / 495.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.4621, allocations: 8 kB / 495.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.4624, allocations: 51.91 kB / 495.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.4625, allocations: 56 kB / 495.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.4626, allocations: 8 kB / 495.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004082/0.463, allocations: 327.1 kB / 495.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.463, allocations: 0 / 495.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009093/0.4639, allocations: 275.2 kB / 496.2 MB, free: 7.215 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002262/0.4641, allocations: 129.4 kB / 496.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.4659, allocations: 0.9793 MB / 497.3 MB, free: 6.078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4659, allocations: 0 / 497.3 MB, free: 6.078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.4664, allocations: 359.3 kB / 497.6 MB, free: 5.715 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.4669, allocations: 81.02 kB / 497.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.4689, allocations: 1.243 MB / 498.9 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.4695, allocations: 0.9177 MB / 499.9 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003076/0.4698, allocations: 92.53 kB / 499.9 MB, free: 3.336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.4699, allocations: 39.44 kB / 500 MB, free: 3.297 MB / 378.7 MB Notification: Performance of SimCode: time 4.028e-06/0.4699, allocations: 0 / 500 MB, free: 3.297 MB / 378.7 MB Notification: Performance of Templates: time 0.2509/0.7208, allocations: 7.373 MB / 0.4955 GB, free: 105.7 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches