Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002058/0.002058, 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.957/1.957, 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.001108/0.001108, allocations: 91.42 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.481e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3237, allocations: 47.57 MB / 362.4 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.4653, allocations: 87.88 MB / 450.2 MB, free: 14.41 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.4657, allocations: 81.2 kB / 450.3 MB, free: 14.33 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06251/0.5282, allocations: 14.3 MB / 464.6 MB, free: 40 kB / 347.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5283, allocations: 0 / 464.6 MB, free: 40 kB / 347.1 MB Notification: Performance of Transformations before backend: time 7.116e-05/0.5284, allocations: 19.94 kB / 464.6 MB, free: 20 kB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002894/0.5313, allocations: 0.9227 MB / 465.6 MB, free: 15.04 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5314, allocations: 8.031 kB / 465.6 MB, free: 15.04 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.5317, allocations: 90.95 kB / 465.7 MB, free: 14.95 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.5331, allocations: 0.5126 MB / 466.2 MB, free: 14.39 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.398e-05/0.5332, allocations: 31.94 kB / 466.2 MB, free: 14.36 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.5334, allocations: 40 kB / 466.2 MB, free: 14.32 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001538/0.535, allocations: 479.9 kB / 466.7 MB, free: 13.85 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.5367, allocations: 0.6249 MB / 467.3 MB, free: 13.2 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.5368, allocations: 0 / 467.3 MB, free: 13.2 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.039e-05/0.5369, allocations: 3.984 kB / 467.3 MB, free: 13.2 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.5369, allocations: 16 kB / 467.4 MB, free: 13.18 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006644/0.5436, allocations: 2.561 MB / 469.9 MB, free: 10.52 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.5455, allocations: 0.6094 MB / 470.5 MB, free: 9.895 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.5467, allocations: 370.4 kB / 470.9 MB, free: 9.531 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/0.5468, allocations: 8.562 kB / 470.9 MB, free: 9.523 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008965/0.5478, allocations: 348.7 kB / 471.2 MB, free: 9.164 MB / 363.1 MB Notification: Performance of pre-optimization done (n=61): time 3.567e-06/0.5478, allocations: 4 kB / 471.2 MB, free: 9.16 MB / 363.1 MB Notification: Performance of matching and sorting (n=61): time 0.00158/0.5494, allocations: 0.5236 MB / 471.8 MB, free: 8.621 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.5495, allocations: 115.4 kB / 471.9 MB, free: 8.484 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.5502, allocations: 357.1 kB / 472.2 MB, free: 8.129 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.5503, allocations: 37.64 kB / 472.3 MB, free: 8.086 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.5507, allocations: 358.7 kB / 472.6 MB, free: 7.73 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.551, allocations: 181.4 kB / 472.8 MB, free: 7.551 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.551, allocations: 0 / 472.8 MB, free: 7.551 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5512, allocations: 346.8 kB / 473.1 MB, free: 7.203 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.5517, allocations: 181.5 kB / 473.3 MB, free: 7.023 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000662/0.5524, allocations: 339.9 kB / 473.6 MB, free: 6.633 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.553, allocations: 194.1 kB / 473.8 MB, free: 6.441 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.553, allocations: 0 / 473.8 MB, free: 6.441 MB / 363.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001772/0.5548, allocations: 0.5979 MB / 474.4 MB, free: 5.832 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007392/0.5555, allocations: 1.586 MB / 476 MB, free: 4.121 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.5556, allocations: 5.172 kB / 476 MB, free: 4.117 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000801/0.5564, allocations: 149.6 kB / 476.2 MB, free: 3.965 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008305/0.5572, allocations: 107.8 kB / 476.3 MB, free: 3.859 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00531/0.5626, allocations: 3.505 MB / 479.8 MB, free: 128 kB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008824/0.5635, allocations: 63.62 kB / 479.8 MB, free: 64 kB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.5636, allocations: 28.16 kB / 479.9 MB, free: 36 kB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5636, allocations: 4 kB / 479.9 MB, free: 32 kB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001636/0.5653, allocations: 0.5418 MB / 480.4 MB, free: 15.48 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.5653, allocations: 7.984 kB / 480.4 MB, free: 15.48 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/0.566, allocations: 158 kB / 480.6 MB, free: 15.32 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007628/0.5668, allocations: 99.81 kB / 480.7 MB, free: 15.22 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005156/0.572, allocations: 3.473 MB / 484.1 MB, free: 11.51 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.5727, allocations: 63.62 kB / 484.2 MB, free: 11.45 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-05/0.5728, allocations: 28 kB / 484.2 MB, free: 11.42 MB / 379.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002909/0.5731, allocations: 138 kB / 484.4 MB, free: 11.29 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.5733, allocations: 59.33 kB / 484.4 MB, free: 11.23 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.5735, allocations: 65.66 kB / 484.5 MB, free: 11.16 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.5736, allocations: 7.938 kB / 484.5 MB, free: 11.15 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5736, allocations: 0 / 484.5 MB, free: 11.15 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.5736, allocations: 3.984 kB / 484.5 MB, free: 11.15 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.5768, allocations: 1.281 MB / 485.8 MB, free: 9.816 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.5768, allocations: 8.266 kB / 485.8 MB, free: 9.809 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/0.5775, allocations: 71.89 kB / 485.9 MB, free: 9.738 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006901/0.5782, allocations: 149.6 kB / 486 MB, free: 9.586 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.5783, allocations: 0 / 486 MB, free: 9.586 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.5833, allocations: 3.402 MB / 489.4 MB, free: 5.957 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.5834, allocations: 3.953 kB / 489.4 MB, free: 5.953 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.5856, allocations: 0.8908 MB / 490.3 MB, free: 5.043 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.5861, allocations: 188.2 kB / 490.5 MB, free: 4.84 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.5862, allocations: 12.06 kB / 490.5 MB, free: 4.828 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007084/0.5869, allocations: 39.95 kB / 490.5 MB, free: 4.789 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/0.5873, allocations: 80.44 kB / 490.6 MB, free: 4.711 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/0.5873, allocations: 19.95 kB / 490.6 MB, free: 4.691 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0004884/0.5878, allocations: 271 kB / 490.9 MB, free: 4.426 MB / 379.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.5879, allocations: 0 / 490.9 MB, free: 4.426 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001828/0.5897, allocations: 315 kB / 491.2 MB, free: 4.117 MB / 379.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003004/0.59, allocations: 125.4 kB / 491.3 MB, free: 3.98 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.003101/0.5931, allocations: 1.312 MB / 492.6 MB, free: 2.629 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.5932, allocations: 4.25 kB / 492.6 MB, free: 2.625 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.5944, allocations: 0.513 MB / 493.2 MB, free: 2.09 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008779/0.5953, allocations: 87.75 kB / 493.2 MB, free: 2.004 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.5987, allocations: 1.01 MB / 494.2 MB, free: 0.9609 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007872/0.5996, allocations: 0.9584 MB / 495.2 MB, free: 15.98 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.5999, allocations: 43.38 kB / 495.3 MB, free: 15.93 MB / 395.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5999, allocations: 0 / 495.3 MB, free: 15.93 MB / 395.1 MB Notification: Performance of Templates: time 0.02921/0.6291, allocations: 13.64 MB / 0.497 GB, free: 2.312 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV_Characteristic/ThyristorBridge2Pulse_RLV_Characteristic.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches