Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_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.001062/0.001062, allocations: 198.9 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.306/1.306, allocations: 227.2 MB / 245 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008509/0.0008512, allocations: 110.8 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002646, allocations: 4 kB / 357.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1962, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.2975, allocations: 90.37 MB / 499.8 MB, free: 224 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.2978, allocations: 87.94 kB / 499.9 MB, free: 136 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03804/0.3359, allocations: 15.19 MB / 0.503 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3359, allocations: 0 / 0.503 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.718e-05/0.336, allocations: 16 kB / 0.503 GB, free: 0.8438 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.1792/0.5152, allocations: 0.9998 MB / 0.504 GB, free: 89.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5153, allocations: 9.156 kB / 0.504 GB, free: 89.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005857/0.5159, allocations: 104 kB / 0.5041 GB, free: 89.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.5173, allocations: 0.5155 MB / 0.5046 GB, free: 89.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.5175, allocations: 61.39 kB / 0.5047 GB, free: 89.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002674/0.5178, allocations: 71.42 kB / 0.5047 GB, free: 89.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.5198, allocations: 0.7788 MB / 0.5055 GB, free: 89.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.5198, allocations: 6.156 kB / 0.5055 GB, free: 89.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.91e-05/0.5199, allocations: 31.12 kB / 0.5055 GB, free: 89.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.5199, allocations: 20.48 kB / 0.5055 GB, free: 89.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.5213, allocations: 0.5819 MB / 0.5061 GB, free: 89.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/0.5259, allocations: 2.804 MB / 0.5089 GB, free: 88.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009238/0.5268, allocations: 0.5569 MB / 0.5094 GB, free: 88.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.094e-05/0.5269, allocations: 10.42 kB / 0.5094 GB, free: 88.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009216/0.5278, allocations: 375.7 kB / 0.5098 GB, free: 88.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 6.693e-06/0.5278, allocations: 2.188 kB / 0.5098 GB, free: 88.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.002906/0.5307, allocations: 1.025 MB / 0.5108 GB, free: 88.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.367e-05/0.5308, allocations: 142.1 kB / 0.5109 GB, free: 87.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007979/0.5316, allocations: 469.2 kB / 0.5113 GB, free: 87.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.06e-05/0.5317, allocations: 44.2 kB / 0.5114 GB, free: 87.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.532, allocations: 342.5 kB / 0.5117 GB, free: 87.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.5321, allocations: 187.7 kB / 0.5119 GB, free: 87.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.5322, allocations: 13.16 kB / 0.5119 GB, free: 87.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.5323, allocations: 379.1 kB / 0.5123 GB, free: 86.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.5326, allocations: 216.7 kB / 0.5125 GB, free: 86.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005085/0.5332, allocations: 394 kB / 0.5129 GB, free: 86.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/0.5336, allocations: 245.5 kB / 0.5131 GB, free: 86.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.5337, allocations: 3.938 kB / 0.5131 GB, free: 86.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001194/0.5349, allocations: 0.7374 MB / 0.5138 GB, free: 86.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003073/0.5352, allocations: 1.578 MB / 0.5154 GB, free: 84.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.5352, allocations: 3.656 kB / 0.5154 GB, free: 84.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004428/0.5356, allocations: 139.6 kB / 0.5155 GB, free: 84.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.536, allocations: 108 kB / 0.5156 GB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.5386, allocations: 3.485 MB / 0.519 GB, free: 81.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.5392, allocations: 102.3 kB / 0.5191 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.5393, allocations: 26.7 kB / 0.5191 GB, free: 81.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.5393, allocations: 3.906 kB / 0.5191 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009197/0.5402, allocations: 0.633 MB / 0.5197 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5402, allocations: 2.656 kB / 0.5197 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003341/0.5406, allocations: 152 kB / 0.5199 GB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.5409, allocations: 92.52 kB / 0.52 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.5432, allocations: 3.476 MB / 0.5234 GB, free: 77.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.5437, allocations: 82.03 kB / 0.5234 GB, free: 77.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.5438, allocations: 25.97 kB / 0.5235 GB, free: 77.61 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 (70): * Single equations (assignments): 68 * 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.0004214/0.5442, allocations: 317.1 kB / 0.5238 GB, free: 77.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.5444, allocations: 70.06 kB / 0.5238 GB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.5445, allocations: 74.53 kB / 0.5239 GB, free: 77.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5445, allocations: 5.969 kB / 0.5239 GB, free: 77.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5445, allocations: 0 / 0.5239 GB, free: 77.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5445, allocations: 13.62 kB / 0.5239 GB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.5465, allocations: 1.462 MB / 0.5254 GB, free: 76.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5466, allocations: 2.859 kB / 0.5254 GB, free: 76.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.5468, allocations: 63.05 kB / 0.5254 GB, free: 76.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003287/0.5472, allocations: 135.9 kB / 0.5256 GB, free: 76.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.5472, allocations: 15.72 kB / 0.5256 GB, free: 76.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.5494, allocations: 3.312 MB / 0.5288 GB, free: 73.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5495, allocations: 4.125 kB / 0.5288 GB, free: 73.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.5508, allocations: 0.9734 MB / 0.5298 GB, free: 72.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.5511, allocations: 201.2 kB / 0.5299 GB, free: 72.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.5512, allocations: 15.78 kB / 0.53 GB, free: 72.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.5516, allocations: 44 kB / 0.53 GB, free: 72.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.5518, allocations: 71.36 kB / 0.5301 GB, free: 72.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.5518, allocations: 18.86 kB / 0.5301 GB, free: 72.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004877/0.5523, allocations: 371.3 kB / 0.5304 GB, free: 72.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5523, allocations: 0 / 0.5304 GB, free: 72.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001249/0.5536, allocations: 365.1 kB / 0.5308 GB, free: 72.45 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 (46): * Single equations (assignments): 39 * 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.0002155/0.5538, allocations: 147.8 kB / 0.5309 GB, free: 72.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.5556, allocations: 1.419 MB / 0.5323 GB, free: 71.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5556, allocations: 3.594 kB / 0.5323 GB, free: 71.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005321/0.5561, allocations: 0.5536 MB / 0.5329 GB, free: 71.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.5567, allocations: 104.6 kB / 0.533 GB, free: 71.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.559, allocations: 1.664 MB / 0.5346 GB, free: 70.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.5593, allocations: 0.9723 MB / 0.5355 GB, free: 69.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003427/0.5597, allocations: 101 kB / 0.5356 GB, free: 69.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.5598, allocations: 43.44 kB / 0.5357 GB, free: 69.12 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5598, allocations: 0 / 0.5357 GB, free: 69.12 MB / 378.7 MB Notification: Performance of Templates: time 0.01474/0.5746, allocations: 10.42 MB / 0.5459 GB, free: 61.39 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat","/var/lib/jenkins/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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches