Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002459/0.002465, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 92.64 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.911e-05, allocations: 4 kB / 314.8 MB, free: 9.137 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3313, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.4772, allocations: 87.19 MB / 449.5 MB, free: 15.08 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/0.4776, allocations: 87.45 kB / 449.6 MB, free: 15 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05736/0.535, allocations: 13.22 MB / 462.8 MB, free: 1.812 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.535, allocations: 0 / 462.8 MB, free: 1.812 MB / 347.1 MB Notification: Performance of Transformations before backend: time 6.532e-05/0.5351, allocations: 27.92 kB / 462.9 MB, free: 1.785 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002396/0.5375, allocations: 0.874 MB / 463.7 MB, free: 0.8633 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.5376, allocations: 12.03 kB / 463.8 MB, free: 0.8516 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.5378, allocations: 83.36 kB / 463.8 MB, free: 0.7695 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.539, allocations: 488.2 kB / 464.3 MB, free: 252 kB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.5391, allocations: 28 kB / 464.3 MB, free: 224 kB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.5392, allocations: 43.84 kB / 464.4 MB, free: 180 kB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001255/0.5405, allocations: 414.5 kB / 464.8 MB, free: 15.77 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.5419, allocations: 0.534 MB / 465.3 MB, free: 15.22 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.542, allocations: 4 kB / 465.3 MB, free: 15.21 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.5421, allocations: 7.984 kB / 465.3 MB, free: 15.21 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.5421, allocations: 16 kB / 465.4 MB, free: 15.19 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005339/0.5475, allocations: 2.21 MB / 467.6 MB, free: 12.88 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.5491, allocations: 0.4897 MB / 468.1 MB, free: 12.38 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00073/0.5499, allocations: 243.1 kB / 468.3 MB, free: 12.14 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/0.5499, allocations: 8.359 kB / 468.3 MB, free: 12.13 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007466/0.5507, allocations: 303.8 kB / 468.6 MB, free: 11.81 MB / 363.1 MB Notification: Performance of pre-optimization done (n=50): time 3.788e-06/0.5507, allocations: 0 / 468.6 MB, free: 11.81 MB / 363.1 MB Notification: Performance of matching and sorting (n=50): time 0.001204/0.5519, allocations: 424.2 kB / 469 MB, free: 11.39 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/0.552, allocations: 140.9 kB / 469.1 MB, free: 11.22 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005986/0.5527, allocations: 341.2 kB / 469.5 MB, free: 10.88 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/0.5527, allocations: 33.69 kB / 469.5 MB, free: 10.84 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.5531, allocations: 358.6 kB / 469.9 MB, free: 10.49 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.5533, allocations: 141.9 kB / 470 MB, free: 10.35 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.5533, allocations: 0 / 470 MB, free: 10.35 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5535, allocations: 340.9 kB / 470.3 MB, free: 10.01 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.5539, allocations: 141.1 kB / 470.5 MB, free: 9.867 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.5545, allocations: 295.4 kB / 470.8 MB, free: 9.516 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.5549, allocations: 176.6 kB / 470.9 MB, free: 9.344 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.5549, allocations: 0 / 470.9 MB, free: 9.344 MB / 363.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001254/0.5562, allocations: 484.7 kB / 471.4 MB, free: 8.859 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000826/0.5571, allocations: 1.665 MB / 473.1 MB, free: 7.062 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.5571, allocations: 5.875 kB / 473.1 MB, free: 7.059 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004464/0.5575, allocations: 80.75 kB / 473.2 MB, free: 6.977 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.5583, allocations: 103.8 kB / 473.3 MB, free: 6.875 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.5608, allocations: 1.694 MB / 475 MB, free: 5.059 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/0.5616, allocations: 75.77 kB / 475 MB, free: 4.984 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/0.5616, allocations: 20 kB / 475 MB, free: 4.965 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5617, allocations: 4 kB / 475 MB, free: 4.961 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001184/0.5628, allocations: 422.9 kB / 475.5 MB, free: 4.547 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5629, allocations: 4.859 kB / 475.5 MB, free: 4.543 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/0.5632, allocations: 73.36 kB / 475.5 MB, free: 4.469 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/0.5639, allocations: 99.83 kB / 475.6 MB, free: 4.371 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.5662, allocations: 1.695 MB / 477.3 MB, free: 2.566 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/0.5667, allocations: 59.72 kB / 477.4 MB, free: 2.508 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.5668, allocations: 24 kB / 477.4 MB, free: 2.484 MB / 363.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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0002426/0.5671, allocations: 131.9 kB / 477.5 MB, free: 2.348 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.5672, allocations: 51.44 kB / 477.6 MB, free: 2.297 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.5674, allocations: 48.97 kB / 477.6 MB, free: 2.246 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.5674, allocations: 8 kB / 477.6 MB, free: 2.238 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5674, allocations: 0 / 477.6 MB, free: 2.238 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.5675, allocations: 11.94 kB / 477.7 MB, free: 2.227 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.5701, allocations: 1.168 MB / 478.8 MB, free: 1.008 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.5701, allocations: 4 kB / 478.8 MB, free: 1.004 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/0.5707, allocations: 71.92 kB / 478.9 MB, free: 0.9336 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003424/0.5711, allocations: 68.83 kB / 479 MB, free: 0.8633 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.5711, allocations: 3.984 kB / 479 MB, free: 0.8594 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.5734, allocations: 1.6 MB / 480.6 MB, free: 15.14 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.5735, allocations: 7.406 kB / 480.6 MB, free: 15.14 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.5754, allocations: 0.7363 MB / 481.3 MB, free: 14.38 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.5757, allocations: 164.5 kB / 481.5 MB, free: 14.2 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.5759, allocations: 7.953 kB / 481.5 MB, free: 14.19 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006601/0.5765, allocations: 47.95 kB / 481.5 MB, free: 14.14 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.5768, allocations: 60.28 kB / 481.6 MB, free: 14.08 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.5768, allocations: 16 kB / 481.6 MB, free: 14.06 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0004594/0.5773, allocations: 255 kB / 481.9 MB, free: 13.82 MB / 379.1 MB Notification: Performance of sort global known variables: time 2.575e-06/0.5773, allocations: 0 / 481.9 MB, free: 13.82 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001496/0.5788, allocations: 274.8 kB / 482.1 MB, free: 13.55 MB / 379.1 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,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * 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.0002957/0.5792, allocations: 129.4 kB / 482.2 MB, free: 13.41 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.5814, allocations: 0.8731 MB / 483.1 MB, free: 12.52 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.5815, allocations: 0 / 483.1 MB, free: 12.52 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007907/0.5823, allocations: 339.8 kB / 483.5 MB, free: 12.18 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008338/0.5831, allocations: 62.92 kB / 483.5 MB, free: 12.12 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.5859, allocations: 0.8805 MB / 484.4 MB, free: 11.2 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/0.5867, allocations: 0.9257 MB / 485.3 MB, free: 10.25 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.587, allocations: 48.02 kB / 485.4 MB, free: 10.2 MB / 379.1 MB Notification: Performance of SimCode: time 1.072e-06/0.587, allocations: 0 / 485.4 MB, free: 10.2 MB / 379.1 MB Notification: Performance of Templates: time 0.0222/0.6092, allocations: 9.692 MB / 495.1 MB, free: 0.5273 MB / 379.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV_Characteristic/ThyristorCenterTap2Pulse_RLV_Characteristic.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches