Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008624/0.0008624, allocations: 94.28 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002129/0.0002129, allocations: 4 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2027, allocations: 51.49 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.3075, allocations: 90.07 MB / 499.5 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.3078, allocations: 88.64 kB / 499.6 MB, free: 464 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03857/0.3464, allocations: 14.91 MB / 0.5024 GB, free: 1.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3464, allocations: 0 / 0.5024 GB, free: 1.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.187e-05/0.3465, allocations: 16 kB / 0.5025 GB, free: 1.449 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.00211/0.3486, allocations: 0.9904 MB / 0.5034 GB, free: 408 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3486, allocations: 8.031 kB / 0.5034 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.349, allocations: 103 kB / 0.5035 GB, free: 296 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.184/0.533, allocations: 0.5041 MB / 0.504 GB, free: 90.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.5332, allocations: 55.77 kB / 0.5041 GB, free: 90.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.5333, allocations: 70.3 kB / 0.5041 GB, free: 90.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.5349, allocations: 0.7629 MB / 0.5049 GB, free: 90.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.5349, allocations: 4.688 kB / 0.5049 GB, free: 90.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.535, allocations: 29.25 kB / 0.5049 GB, free: 90.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.535, allocations: 16.34 kB / 0.5049 GB, free: 90.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.5361, allocations: 0.5688 MB / 0.5055 GB, free: 90.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003765/0.5399, allocations: 2.752 MB / 0.5082 GB, free: 89.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008144/0.5408, allocations: 0.5531 MB / 0.5087 GB, free: 89.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.5408, allocations: 5.938 kB / 0.5087 GB, free: 89.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005912/0.5414, allocations: 370.1 kB / 0.5091 GB, free: 89.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 2.445e-06/0.5414, allocations: 0 / 0.5091 GB, free: 89.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.002144/0.5436, allocations: 1.011 MB / 0.5101 GB, free: 88.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.5436, allocations: 146.8 kB / 0.5102 GB, free: 88.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/0.5442, allocations: 458 kB / 0.5106 GB, free: 88.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.5443, allocations: 50.05 kB / 0.5107 GB, free: 88.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.5445, allocations: 331.1 kB / 0.511 GB, free: 88.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.5446, allocations: 183.3 kB / 0.5112 GB, free: 88.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.5446, allocations: 13.66 kB / 0.5112 GB, free: 88.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.5447, allocations: 368.3 kB / 0.5115 GB, free: 87.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.5451, allocations: 222.2 kB / 0.5118 GB, free: 87.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.5455, allocations: 389.8 kB / 0.5121 GB, free: 87.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.5458, allocations: 239.3 kB / 0.5124 GB, free: 87.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5458, allocations: 0 / 0.5124 GB, free: 87.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009482/0.5468, allocations: 0.7508 MB / 0.5131 GB, free: 87.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002479/0.547, allocations: 1.572 MB / 0.5146 GB, free: 85.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.5471, allocations: 3.812 kB / 0.5146 GB, free: 85.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000389/0.5474, allocations: 145 kB / 0.5148 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.5478, allocations: 95.61 kB / 0.5149 GB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.5501, allocations: 3.484 MB / 0.5183 GB, free: 82.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.5506, allocations: 93.19 kB / 0.5183 GB, free: 82.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.5507, allocations: 23.44 kB / 0.5184 GB, free: 82.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/0.5507, allocations: 7.453 kB / 0.5184 GB, free: 82.07 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008529/0.5515, allocations: 0.6285 MB / 0.519 GB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.5516, allocations: 6.531 kB / 0.519 GB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.5519, allocations: 152.5 kB / 0.5191 GB, free: 81.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.5522, allocations: 92.41 kB / 0.5192 GB, free: 81.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.5544, allocations: 3.478 MB / 0.5226 GB, free: 78.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.5549, allocations: 81.12 kB / 0.5227 GB, free: 78.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.5549, allocations: 25.56 kB / 0.5227 GB, free: 78.53 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: 29 ($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_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 () * 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 (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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004657/0.5554, allocations: 322.4 kB / 0.523 GB, free: 78.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-05/0.5555, allocations: 62.84 kB / 0.5231 GB, free: 78.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.5556, allocations: 70.52 kB / 0.5232 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5556, allocations: 6.906 kB / 0.5232 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.5557, allocations: 0 / 0.5232 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.5557, allocations: 3.562 kB / 0.5232 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.5576, allocations: 1.462 MB / 0.5246 GB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5576, allocations: 0 / 0.5246 GB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.5578, allocations: 59.36 kB / 0.5247 GB, free: 77.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003206/0.5582, allocations: 142.8 kB / 0.5248 GB, free: 77.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.5582, allocations: 6.25 kB / 0.5248 GB, free: 77.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.5604, allocations: 3.322 MB / 0.528 GB, free: 74.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5604, allocations: 0 / 0.528 GB, free: 74.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.5619, allocations: 0.9791 MB / 0.529 GB, free: 73.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.5623, allocations: 200.5 kB / 0.5292 GB, free: 73.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.926e-05/0.5623, allocations: 15.84 kB / 0.5292 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.5627, allocations: 46.62 kB / 0.5292 GB, free: 73.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.5629, allocations: 73.89 kB / 0.5293 GB, free: 73.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.5629, allocations: 17.28 kB / 0.5293 GB, free: 73.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004446/0.5634, allocations: 358.5 kB / 0.5297 GB, free: 73.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5634, allocations: 0 / 0.5297 GB, free: 73.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001134/0.5645, allocations: 355.1 kB / 0.53 GB, free: 73.4 MB / 378.7 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_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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000182/0.5647, allocations: 143.1 kB / 0.5302 GB, free: 73.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.5665, allocations: 1.422 MB / 0.5315 GB, free: 72.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5665, allocations: 0 / 0.5315 GB, free: 72.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.567, allocations: 0.5405 MB / 0.5321 GB, free: 72.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.5676, allocations: 110.1 kB / 0.5322 GB, free: 72.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.5696, allocations: 1.623 MB / 0.5338 GB, free: 71.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.5699, allocations: 0.9624 MB / 0.5347 GB, free: 70.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002996/0.5702, allocations: 109 kB / 0.5348 GB, free: 70.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.5703, allocations: 47.44 kB / 0.5348 GB, free: 70.18 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5703, allocations: 3.938 kB / 0.5349 GB, free: 70.18 MB / 378.7 MB Notification: Performance of Templates: time 0.0141/0.5844, allocations: 10.35 MB / 0.545 GB, free: 62.46 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches