Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.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_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_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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 202.7 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 7.637 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009079/0.0009079, allocations: 98.03 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002105/0.0002105, allocations: 4 kB / 358 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09972/0.2998, allocations: 89.74 MB / 499.2 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.3, allocations: 87.94 kB / 499.3 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03588/0.3359, allocations: 14.56 MB / 0.5018 GB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.336, allocations: 0 / 0.5018 GB, free: 2.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.696e-05/0.336, allocations: 19.94 kB / 0.5018 GB, free: 2.109 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001617/0.3376, allocations: 0.9696 MB / 0.5028 GB, free: 1.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3377, allocations: 8.031 kB / 0.5028 GB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.3379, allocations: 107 kB / 0.5029 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/0.3386, allocations: 0.4978 MB / 0.5033 GB, free: 436 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.3387, allocations: 53.31 kB / 0.5034 GB, free: 384 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.744e-05/0.3388, allocations: 72 kB / 0.5035 GB, free: 312 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1801/0.5189, allocations: 0.7226 MB / 0.5042 GB, free: 90.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/0.519, allocations: 2.938 kB / 0.5042 GB, free: 90.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.5192, allocations: 30.17 kB / 0.5042 GB, free: 90.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/0.5192, allocations: 15.16 kB / 0.5042 GB, free: 90.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.5209, allocations: 0.5586 MB / 0.5048 GB, free: 90.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004748/0.5257, allocations: 2.701 MB / 0.5074 GB, free: 89.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009449/0.5266, allocations: 0.5353 MB / 0.5079 GB, free: 89.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.5267, allocations: 8.984 kB / 0.5079 GB, free: 89.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005832/0.5273, allocations: 364.9 kB / 0.5083 GB, free: 89.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.304e-06/0.5273, allocations: 0 / 0.5083 GB, free: 89.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.002324/0.5296, allocations: 1.015 MB / 0.5093 GB, free: 89.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.5297, allocations: 146.1 kB / 0.5094 GB, free: 89.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/0.5304, allocations: 459.3 kB / 0.5098 GB, free: 88.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.5305, allocations: 45.48 kB / 0.5099 GB, free: 88.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.5307, allocations: 323.1 kB / 0.5102 GB, free: 88.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.5308, allocations: 174.6 kB / 0.5104 GB, free: 88.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.5309, allocations: 13.56 kB / 0.5104 GB, free: 88.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.342e-05/0.531, allocations: 373.9 kB / 0.5107 GB, free: 88.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.5314, allocations: 214.2 kB / 0.5109 GB, free: 88.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.5318, allocations: 375.7 kB / 0.5113 GB, free: 88.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.5322, allocations: 235.5 kB / 0.5115 GB, free: 87.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.5322, allocations: 1.156 kB / 0.5115 GB, free: 87.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001005/0.5332, allocations: 0.7254 MB / 0.5122 GB, free: 87.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002581/0.5335, allocations: 1.57 MB / 0.5138 GB, free: 85.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5335, allocations: 3.812 kB / 0.5138 GB, free: 85.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/0.5339, allocations: 161.7 kB / 0.5139 GB, free: 85.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.5342, allocations: 96.73 kB / 0.514 GB, free: 85.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.5364, allocations: 2.401 MB / 0.5164 GB, free: 84.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.5368, allocations: 90.56 kB / 0.5164 GB, free: 83.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.5369, allocations: 25.3 kB / 0.5165 GB, free: 83.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.066e-06/0.5369, allocations: 3.75 kB / 0.5165 GB, free: 83.98 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008227/0.5377, allocations: 0.6192 MB / 0.5171 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5378, allocations: 5.75 kB / 0.5171 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.5381, allocations: 156.4 kB / 0.5172 GB, free: 83.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.5384, allocations: 84.41 kB / 0.5173 GB, free: 83.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.5403, allocations: 2.397 MB / 0.5197 GB, free: 81.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.5407, allocations: 74.31 kB / 0.5197 GB, free: 81.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.5408, allocations: 33.02 kB / 0.5198 GB, free: 81.71 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 (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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003573/0.5411, allocations: 315.9 kB / 0.5201 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.5412, allocations: 61.41 kB / 0.5201 GB, free: 81.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.5414, allocations: 71.17 kB / 0.5202 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5414, allocations: 3.5 kB / 0.5202 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.5414, allocations: 0 / 0.5202 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.5414, allocations: 3.469 kB / 0.5202 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.543, allocations: 1.413 MB / 0.5216 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5431, allocations: 0 / 0.5216 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.5433, allocations: 51.03 kB / 0.5216 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/0.5436, allocations: 138 kB / 0.5218 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.5437, allocations: 18.7 kB / 0.5218 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.5457, allocations: 2.307 MB / 0.524 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5457, allocations: 0 / 0.524 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.5468, allocations: 0.9394 MB / 0.5249 GB, free: 78.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.547, allocations: 188.4 kB / 0.5251 GB, free: 78.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.5471, allocations: 15.7 kB / 0.5251 GB, free: 78.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.5474, allocations: 45.27 kB / 0.5252 GB, free: 78.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.5476, allocations: 77.41 kB / 0.5253 GB, free: 78.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.5476, allocations: 13.77 kB / 0.5253 GB, free: 78.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000357/0.548, allocations: 354.8 kB / 0.5256 GB, free: 77.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.548, allocations: 0 / 0.5256 GB, free: 77.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009372/0.5489, allocations: 355.3 kB / 0.5259 GB, free: 77.81 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: 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001848/0.5491, allocations: 142.3 kB / 0.5261 GB, free: 77.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.5507, allocations: 1.249 MB / 0.5273 GB, free: 77.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5507, allocations: 0 / 0.5273 GB, free: 77.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.5513, allocations: 477.8 kB / 0.5278 GB, free: 76.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.5517, allocations: 97.36 kB / 0.5278 GB, free: 76.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.5538, allocations: 1.496 MB / 0.5293 GB, free: 75.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.5542, allocations: 0.9645 MB / 0.5302 GB, free: 75.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.5545, allocations: 93.41 kB / 0.5303 GB, free: 75.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.5546, allocations: 39.09 kB / 0.5304 GB, free: 75.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.412e-06/0.5546, allocations: 0 / 0.5304 GB, free: 75.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01463/0.5693, allocations: 10.44 MB / 0.5406 GB, free: 67.52 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches