Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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_RLV,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009369/0.0009369, allocations: 195.7 kB / 18.07 MB, free: 3.762 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: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007853/0.0007856, allocations: 103.3 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002033/0.0002033, allocations: 12 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1771, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09179/0.269, allocations: 90.36 MB / 499 MB, free: 1.199 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.2692, allocations: 83.95 kB / 499.1 MB, free: 1.117 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03574/0.305, allocations: 15.2 MB / 0.5023 GB, free: 1.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.305, allocations: 0 / 0.5023 GB, free: 1.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.812e-05/0.3051, allocations: 16 kB / 0.5023 GB, free: 1.824 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001516/0.3066, allocations: 0.9954 MB / 0.5033 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.3066, allocations: 11.97 kB / 0.5033 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.3069, allocations: 107.8 kB / 0.5034 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/0.3076, allocations: 0.5306 MB / 0.5039 GB, free: 80 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/0.3076, allocations: 54.38 kB / 0.5039 GB, free: 28 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1504/0.458, allocations: 70.3 kB / 0.504 GB, free: 91.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.4598, allocations: 0.7803 MB / 0.5048 GB, free: 90.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.4599, allocations: 9.672 kB / 0.5048 GB, free: 90.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.46, allocations: 31.7 kB / 0.5048 GB, free: 90.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.46, allocations: 18.7 kB / 0.5048 GB, free: 90.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.4612, allocations: 0.5813 MB / 0.5054 GB, free: 90.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.465, allocations: 2.798 MB / 0.5081 GB, free: 90 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008125/0.4658, allocations: 0.572 MB / 0.5087 GB, free: 89.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008037/0.4666, allocations: 438.7 kB / 0.5091 GB, free: 89.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.671e-05/0.4667, allocations: 6.156 kB / 0.5091 GB, free: 89.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000605/0.4673, allocations: 384.6 kB / 0.5095 GB, free: 89.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.685e-06/0.4673, allocations: 0.5312 kB / 0.5095 GB, free: 89.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.002384/0.4697, allocations: 1.098 MB / 0.5105 GB, free: 89.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.4697, allocations: 147.7 kB / 0.5107 GB, free: 89.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.4702, allocations: 0.5094 MB / 0.5112 GB, free: 89.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.4703, allocations: 43.89 kB / 0.5112 GB, free: 89.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.4705, allocations: 345.6 kB / 0.5116 GB, free: 88.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.813e-05/0.4706, allocations: 181.5 kB / 0.5117 GB, free: 88.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.4706, allocations: 11.88 kB / 0.5117 GB, free: 88.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.312e-05/0.4707, allocations: 373.9 kB / 0.5121 GB, free: 88.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.471, allocations: 228.1 kB / 0.5123 GB, free: 88.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.4715, allocations: 400.6 kB / 0.5127 GB, free: 88.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006294/0.4721, allocations: 0.5419 MB / 0.5132 GB, free: 87.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4721, allocations: 5.875 kB / 0.5132 GB, free: 87.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001051/0.4732, allocations: 0.7583 MB / 0.514 GB, free: 87.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.972e-05/0.4732, allocations: 219.4 kB / 0.5142 GB, free: 87.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4732, allocations: 3.844 kB / 0.5142 GB, free: 87.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.4737, allocations: 164.3 kB / 0.5143 GB, free: 87.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.474, allocations: 99.97 kB / 0.5144 GB, free: 87.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.4765, allocations: 3.608 MB / 0.518 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.4769, allocations: 90.31 kB / 0.518 GB, free: 83.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.477, allocations: 27.44 kB / 0.5181 GB, free: 83.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.477, allocations: 6.594 kB / 0.5181 GB, free: 83.83 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009106/0.4779, allocations: 0.6682 MB / 0.5187 GB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4779, allocations: 2.188 kB / 0.5187 GB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.4783, allocations: 163 kB / 0.5189 GB, free: 83.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.4786, allocations: 98.27 kB / 0.519 GB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.481, allocations: 3.614 MB / 0.5225 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.4813, allocations: 79.41 kB / 0.5226 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.4814, allocations: 22.69 kB / 0.5226 GB, free: 80.2 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 (68): * Single equations (assignments): 66 * 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.0003022/0.4817, allocations: 321.7 kB / 0.5229 GB, free: 79.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/0.4817, allocations: 62.53 kB / 0.523 GB, free: 79.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.4819, allocations: 70.11 kB / 0.523 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.4819, allocations: 15.97 kB / 0.5231 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4819, allocations: 0 / 0.5231 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4819, allocations: 3.797 kB / 0.5231 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.4837, allocations: 1.51 MB / 0.5245 GB, free: 79.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4837, allocations: 3.938 kB / 0.5245 GB, free: 79.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.4839, allocations: 61.2 kB / 0.5246 GB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/0.4843, allocations: 155.5 kB / 0.5247 GB, free: 78.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.4843, allocations: 23.34 kB / 0.5248 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/0.4867, allocations: 3.511 MB / 0.5282 GB, free: 75.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4867, allocations: 3.938 kB / 0.5282 GB, free: 75.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.4881, allocations: 1.028 MB / 0.5292 GB, free: 75.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.4883, allocations: 196 kB / 0.5294 GB, free: 75.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/0.4883, allocations: 15.97 kB / 0.5294 GB, free: 75.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.4887, allocations: 49.64 kB / 0.5295 GB, free: 75.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.4888, allocations: 70.67 kB / 0.5295 GB, free: 75.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.4889, allocations: 18.91 kB / 0.5295 GB, free: 75.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003547/0.4892, allocations: 363.3 kB / 0.5299 GB, free: 74.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4892, allocations: 4 kB / 0.5299 GB, free: 74.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009649/0.4902, allocations: 361.9 kB / 0.5302 GB, free: 74.84 MB / 378.7 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: 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 (44): * 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: 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.0001476/0.4903, allocations: 151.6 kB / 0.5304 GB, free: 74.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.492, allocations: 1.463 MB / 0.5318 GB, free: 73.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.492, allocations: 0 / 0.5318 GB, free: 73.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.4926, allocations: 0.5767 MB / 0.5324 GB, free: 73.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.4932, allocations: 120 kB / 0.5325 GB, free: 73.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.4951, allocations: 1.678 MB / 0.5341 GB, free: 72.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.4954, allocations: 0.9544 MB / 0.5351 GB, free: 71.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.4955, allocations: 43.44 kB / 0.5351 GB, free: 71.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4955, allocations: 0 / 0.5351 GB, free: 71.09 MB / 378.7 MB Notification: Performance of Templates: time 0.01195/0.5075, allocations: 15 MB / 0.5497 GB, free: 58.5 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV/ThyristorBridge2Pulse_RLV.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches