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.001656/0.001656, allocations: 196.5 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 226.5 MB / 245.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00086/0.00086, allocations: 87.45 kB / 297.4 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002225/0.0002226, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2304, allocations: 51.28 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.3396, allocations: 90.06 MB / 499.5 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.3399, allocations: 95.92 kB / 499.5 MB, free: 1.359 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03776/0.3777, allocations: 14.9 MB / 0.5024 GB, free: 2.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3777, allocations: 0 / 0.5024 GB, free: 2.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.423e-05/0.3778, allocations: 16 kB / 0.5024 GB, free: 2.359 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.001655/0.3795, allocations: 0.9827 MB / 0.5034 GB, free: 1.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3795, allocations: 8.031 kB / 0.5034 GB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.3797, allocations: 107.9 kB / 0.5035 GB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007718/0.3805, allocations: 0.5229 MB / 0.504 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.313e-05/0.3806, allocations: 54.38 kB / 0.504 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.386e-05/0.3807, allocations: 68.38 kB / 0.5041 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1849/0.5656, allocations: 0.7623 MB / 0.5049 GB, free: 90.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.5656, allocations: 7.688 kB / 0.5049 GB, free: 90.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.086e-05/0.5657, allocations: 30.31 kB / 0.5049 GB, free: 90.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.5658, allocations: 19.5 kB / 0.5049 GB, free: 90.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.567, allocations: 0.5698 MB / 0.5055 GB, free: 90.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003761/0.5708, allocations: 2.752 MB / 0.5082 GB, free: 90.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007627/0.5715, allocations: 0.5456 MB / 0.5087 GB, free: 90 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007141/0.5723, allocations: 411.2 kB / 0.5091 GB, free: 90 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.5723, allocations: 8.094 kB / 0.5091 GB, free: 90 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005338/0.5729, allocations: 380.9 kB / 0.5094 GB, free: 89.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 1.793e-06/0.5729, allocations: 0.5 kB / 0.5094 GB, free: 89.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.002672/0.5755, allocations: 1.09 MB / 0.5105 GB, free: 89.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.5756, allocations: 144.5 kB / 0.5106 GB, free: 89.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006718/0.5763, allocations: 0.5067 MB / 0.5111 GB, free: 89.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.5764, allocations: 47.56 kB / 0.5112 GB, free: 89.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.5766, allocations: 327.7 kB / 0.5115 GB, free: 89.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.5767, allocations: 181.9 kB / 0.5117 GB, free: 89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.5768, allocations: 14.62 kB / 0.5117 GB, free: 88.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5769, allocations: 367.7 kB / 0.512 GB, free: 88.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.5773, allocations: 225.2 kB / 0.5123 GB, free: 88.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.5777, allocations: 399.2 kB / 0.5126 GB, free: 88.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/0.5783, allocations: 0.5331 MB / 0.5132 GB, free: 87.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5783, allocations: 3.812 kB / 0.5132 GB, free: 87.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001026/0.5794, allocations: 0.763 MB / 0.5139 GB, free: 87.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/0.5795, allocations: 213.5 kB / 0.5141 GB, free: 87.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.5795, allocations: 7.844 kB / 0.5141 GB, free: 87.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.5799, allocations: 168.3 kB / 0.5143 GB, free: 87.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.5802, allocations: 96.97 kB / 0.5144 GB, free: 87.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.5829, allocations: 3.615 MB / 0.5179 GB, free: 84.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.5833, allocations: 89.23 kB / 0.518 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.5834, allocations: 27.62 kB / 0.518 GB, free: 84.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.5834, allocations: 6.312 kB / 0.518 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009081/0.5843, allocations: 0.6616 MB / 0.5187 GB, free: 83.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5843, allocations: 3.938 kB / 0.5187 GB, free: 83.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000331/0.5847, allocations: 164 kB / 0.5188 GB, free: 83.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.5849, allocations: 91.53 kB / 0.5189 GB, free: 83.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.5873, allocations: 3.611 MB / 0.5224 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003693/0.5877, allocations: 76.31 kB / 0.5225 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.5878, allocations: 28.75 kB / 0.5225 GB, free: 80.44 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.0003719/0.5882, allocations: 328.9 kB / 0.5229 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.5882, allocations: 58.41 kB / 0.5229 GB, free: 80.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.5883, allocations: 68.52 kB / 0.523 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5884, allocations: 7.281 kB / 0.523 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.5884, allocations: 7.938 kB / 0.523 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5884, allocations: 3.562 kB / 0.523 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.5901, allocations: 1.479 MB / 0.5244 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5901, allocations: 0 / 0.5244 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.5903, allocations: 57.62 kB / 0.5245 GB, free: 79.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003224/0.5907, allocations: 158.9 kB / 0.5246 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.5907, allocations: 11.62 kB / 0.5247 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.593, allocations: 3.519 MB / 0.5281 GB, free: 76.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5931, allocations: 0 / 0.5281 GB, free: 76.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.5943, allocations: 1.002 MB / 0.5291 GB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.5945, allocations: 193.1 kB / 0.5293 GB, free: 75.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.5946, allocations: 19.84 kB / 0.5293 GB, free: 75.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.595, allocations: 45.94 kB / 0.5293 GB, free: 75.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.5951, allocations: 76.81 kB / 0.5294 GB, free: 75.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.5952, allocations: 19.53 kB / 0.5294 GB, free: 75.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004051/0.5956, allocations: 353.3 kB / 0.5297 GB, free: 75.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5956, allocations: 0 / 0.5297 GB, free: 75.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001153/0.5967, allocations: 354.3 kB / 0.5301 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.0002089/0.597, allocations: 155.8 kB / 0.5302 GB, free: 74.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.5988, allocations: 1.462 MB / 0.5317 GB, free: 74.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5988, allocations: 3.625 kB / 0.5317 GB, free: 74.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006795/0.5995, allocations: 0.5595 MB / 0.5322 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.0007557/0.6003, allocations: 122.4 kB / 0.5323 GB, free: 73.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.6025, allocations: 1.63 MB / 0.5339 GB, free: 72.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.6029, allocations: 0.9536 MB / 0.5348 GB, free: 71.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000367/0.6033, allocations: 94.86 kB / 0.5349 GB, free: 71.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.6034, allocations: 39.44 kB / 0.535 GB, free: 71.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6034, allocations: 4 kB / 0.535 GB, free: 71.87 MB / 378.7 MB Notification: Performance of Templates: time 0.01642/0.6198, allocations: 10.73 MB / 0.5455 GB, free: 63.69 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/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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches