Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.001423/0.001423, allocations: 199.3 kB / 18.07 MB, free: 3.523 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007431/0.0007431, allocations: 103.2 kB / 297.4 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001956/0.0001956, allocations: 4 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1807, allocations: 51.28 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.2995, allocations: 90.06 MB / 498.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.2998, allocations: 95.88 kB / 498.8 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05104/0.3508, allocations: 14.91 MB / 0.5017 GB, free: 2.453 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3509, allocations: 0 / 0.5017 GB, free: 2.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.476e-05/0.3509, allocations: 16 kB / 0.5017 GB, free: 2.438 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.001894/0.3528, allocations: 0.9866 MB / 0.5027 GB, free: 1.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3529, allocations: 8.031 kB / 0.5027 GB, free: 1.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.3532, allocations: 103.9 kB / 0.5028 GB, free: 1.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008791/0.3541, allocations: 0.519 MB / 0.5033 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.3541, allocations: 58.36 kB / 0.5033 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.3543, allocations: 68.38 kB / 0.5034 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.16/0.5143, allocations: 0.7585 MB / 0.5042 GB, free: 90.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.5144, allocations: 8.016 kB / 0.5042 GB, free: 90.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-05/0.5144, allocations: 29 kB / 0.5042 GB, free: 90.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.5145, allocations: 19.78 kB / 0.5042 GB, free: 90.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.5158, allocations: 0.5706 MB / 0.5048 GB, free: 90.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.5198, allocations: 2.753 MB / 0.5075 GB, free: 90.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008404/0.5206, allocations: 0.5455 MB / 0.508 GB, free: 89.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007561/0.5214, allocations: 417.1 kB / 0.5084 GB, free: 89.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.5215, allocations: 9.406 kB / 0.5084 GB, free: 89.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005646/0.522, allocations: 378.9 kB / 0.5088 GB, free: 89.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 2.595e-06/0.522, allocations: 0 / 0.5088 GB, free: 89.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.002421/0.5245, allocations: 1.093 MB / 0.5098 GB, free: 89.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.5245, allocations: 140.9 kB / 0.51 GB, free: 89.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/0.5252, allocations: 0.5109 MB / 0.5105 GB, free: 89.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.5253, allocations: 46.95 kB / 0.5105 GB, free: 89.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.5255, allocations: 326.8 kB / 0.5108 GB, free: 89.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5256, allocations: 181.4 kB / 0.511 GB, free: 89.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.5257, allocations: 15.97 kB / 0.511 GB, free: 89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.5257, allocations: 368.2 kB / 0.5113 GB, free: 88.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.5261, allocations: 222.9 kB / 0.5116 GB, free: 88.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.5265, allocations: 404.1 kB / 0.5119 GB, free: 88.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/0.5272, allocations: 0.5303 MB / 0.5125 GB, free: 87.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.5272, allocations: 0 / 0.5125 GB, free: 87.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001141/0.5284, allocations: 0.7708 MB / 0.5132 GB, free: 87.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.823e-05/0.5285, allocations: 208.4 kB / 0.5134 GB, free: 87.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5285, allocations: 3.375 kB / 0.5134 GB, free: 87.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/0.5289, allocations: 168.7 kB / 0.5136 GB, free: 87.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.5293, allocations: 96.42 kB / 0.5137 GB, free: 87.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.5319, allocations: 3.615 MB / 0.5172 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.5325, allocations: 95.2 kB / 0.5173 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.5325, allocations: 23.41 kB / 0.5173 GB, free: 84.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.5325, allocations: 3.688 kB / 0.5173 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009671/0.5335, allocations: 0.6609 MB / 0.518 GB, free: 83.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5335, allocations: 7.844 kB / 0.518 GB, free: 83.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003694/0.5339, allocations: 167.5 kB / 0.5181 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.5342, allocations: 88.81 kB / 0.5182 GB, free: 83.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.5367, allocations: 3.599 MB / 0.5217 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.5372, allocations: 80.38 kB / 0.5218 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.5372, allocations: 24.38 kB / 0.5218 GB, free: 80.45 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 (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.0004056/0.5376, allocations: 333.6 kB / 0.5221 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.5377, allocations: 54.78 kB / 0.5222 GB, free: 80.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.5379, allocations: 71.08 kB / 0.5223 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5379, allocations: 6.125 kB / 0.5223 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5379, allocations: 13.72 kB / 0.5223 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.5379, allocations: 3.891 kB / 0.5223 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.5397, allocations: 1.477 MB / 0.5237 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5398, allocations: 2.625 kB / 0.5237 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.54, allocations: 54.7 kB / 0.5238 GB, free: 79.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003648/0.5404, allocations: 153.7 kB / 0.5239 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.5404, allocations: 20.98 kB / 0.524 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002532/0.543, allocations: 3.519 MB / 0.5274 GB, free: 76.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.543, allocations: 4.062 kB / 0.5274 GB, free: 76.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.5443, allocations: 0.9918 MB / 0.5284 GB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.5446, allocations: 200.7 kB / 0.5286 GB, free: 75.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.618e-05/0.5447, allocations: 19.66 kB / 0.5286 GB, free: 75.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.545, allocations: 38.94 kB / 0.5286 GB, free: 75.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.5452, allocations: 76.83 kB / 0.5287 GB, free: 75.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.5452, allocations: 23.83 kB / 0.5287 GB, free: 75.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003961/0.5456, allocations: 357.3 kB / 0.529 GB, free: 75.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5456, allocations: 0 / 0.529 GB, free: 75.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001095/0.5467, allocations: 349.8 kB / 0.5294 GB, free: 75.11 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 (43): * Single equations (assignments): 36 * 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.0001734/0.5469, allocations: 145.8 kB / 0.5295 GB, free: 75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.5487, allocations: 1.462 MB / 0.5309 GB, free: 74.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5487, allocations: 1.594 kB / 0.531 GB, free: 74.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006094/0.5493, allocations: 0.5675 MB / 0.5315 GB, free: 73.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.55, allocations: 118.8 kB / 0.5316 GB, free: 73.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.552, allocations: 1.65 MB / 0.5332 GB, free: 72.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.5523, allocations: 0.9495 MB / 0.5342 GB, free: 71.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.5525, allocations: 46.62 kB / 0.5342 GB, free: 71.76 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5525, allocations: 0 / 0.5342 GB, free: 71.76 MB / 378.7 MB Notification: Performance of Templates: time 0.01345/0.5659, allocations: 14.72 MB / 0.5486 GB, free: 59.52 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches