Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002458/0.002458, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 82.72 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.376e-05, allocations: 4 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09302, allocations: 47.58 MB / 369.1 MB, free: 2.18 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4053/0.4984, allocations: 88.07 MB / 457.2 MB, free: 5.184 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.4988, allocations: 91.88 kB / 457.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0588/0.5576, allocations: 14.21 MB / 471.5 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5576, allocations: 0 / 471.5 MB, free: 8.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.911e-05/0.5577, allocations: 23.94 kB / 471.5 MB, free: 8.711 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002512/0.5603, allocations: 0.8972 MB / 472.4 MB, free: 7.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5603, allocations: 8.031 kB / 472.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.5606, allocations: 90.92 kB / 472.5 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.5618, allocations: 0.5025 MB / 473 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.659e-05/0.5619, allocations: 57.94 kB / 473.1 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.5621, allocations: 68 kB / 473.1 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.5639, allocations: 0.7109 MB / 473.8 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.564, allocations: 3.906 kB / 473.8 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.5641, allocations: 31.98 kB / 473.9 MB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.5641, allocations: 16 kB / 473.9 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.5656, allocations: 0.4971 MB / 474.4 MB, free: 5.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006369/0.572, allocations: 2.705 MB / 477.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.5738, allocations: 0.5845 MB / 477.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.5751, allocations: 418 kB / 478.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.478e-05/0.5752, allocations: 4.438 kB / 478.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000871/0.5761, allocations: 366.2 kB / 478.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 3.657e-06/0.5761, allocations: 0 / 478.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.001614/0.5777, allocations: 0.543 MB / 479 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.5779, allocations: 119.3 kB / 479.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008547/0.5788, allocations: 439.7 kB / 479.5 MB, free: 376 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-05/0.5789, allocations: 41.7 kB / 479.6 MB, free: 328 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.5792, allocations: 362.9 kB / 479.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.5795, allocations: 177.5 kB / 480.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.5795, allocations: 16 kB / 480.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5797, allocations: 338.8 kB / 480.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.5802, allocations: 189.5 kB / 480.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007014/0.581, allocations: 349.4 kB / 481 MB, free: 14.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/0.5816, allocations: 207.2 kB / 481.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5816, allocations: 0 / 481.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001846/0.5834, allocations: 0.66 MB / 481.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007453/0.5842, allocations: 1.574 MB / 483.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.5842, allocations: 4 kB / 483.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008237/0.5851, allocations: 169.7 kB / 483.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/0.5858, allocations: 99.83 kB / 483.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005335/0.5912, allocations: 3.584 MB / 487.3 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009361/0.5922, allocations: 95.66 kB / 487.3 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.5922, allocations: 20 kB / 487.4 MB, free: 8.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5923, allocations: 11.92 kB / 487.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001735/0.594, allocations: 0.6158 MB / 488 MB, free: 7.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5941, allocations: 4 kB / 488 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006696/0.5947, allocations: 170.2 kB / 488.2 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/0.5954, allocations: 87.83 kB / 488.3 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005126/0.6005, allocations: 3.572 MB / 491.8 MB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006503/0.6012, allocations: 71.66 kB / 491.9 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.6013, allocations: 27.98 kB / 491.9 MB, free: 3.203 MB / 362.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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.0002726/0.6016, allocations: 152.8 kB / 492.1 MB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.6018, allocations: 67.2 kB / 492.1 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.602, allocations: 73.59 kB / 492.2 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.602, allocations: 8 kB / 492.2 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.6021, allocations: 8.062 kB / 492.2 MB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.6021, allocations: 7.922 kB / 492.2 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.6053, allocations: 1.407 MB / 493.6 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.6054, allocations: 3.938 kB / 493.6 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004927/0.6059, allocations: 47.97 kB / 493.7 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006922/0.6066, allocations: 157.8 kB / 493.8 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/0.6067, allocations: 16.02 kB / 493.9 MB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004943/0.6116, allocations: 3.51 MB / 497.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6117, allocations: 0 / 497.4 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.6141, allocations: 0.9483 MB / 498.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.6145, allocations: 192.2 kB / 498.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.6147, allocations: 12 kB / 498.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.6153, allocations: 43.97 kB / 498.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.6156, allocations: 88.38 kB / 498.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.6157, allocations: 19.98 kB / 498.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006116/0.6163, allocations: 325.6 kB / 499 MB, free: 11.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6163, allocations: 0 / 499 MB, free: 11.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001623/0.618, allocations: 343 kB / 499.3 MB, free: 11.4 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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * 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.0002846/0.6183, allocations: 153.2 kB / 499.5 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003056/0.6214, allocations: 1.372 MB / 0.4891 GB, free: 9.824 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.6214, allocations: 0 / 0.4891 GB, free: 9.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.6226, allocations: 0.5439 MB / 0.4896 GB, free: 9.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/0.6235, allocations: 106.7 kB / 0.4897 GB, free: 9.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.6265, allocations: 1.011 MB / 0.4907 GB, free: 8.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.6272, allocations: 0.9584 MB / 0.4917 GB, free: 7.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.6274, allocations: 43.42 kB / 0.4917 GB, free: 7.082 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6274, allocations: 0 / 0.4917 GB, free: 7.082 MB / 378.7 MB Notification: Performance of Templates: time 0.02649/0.6539, allocations: 13.75 MB / 0.5051 GB, free: 9.305 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV/ThyristorBridge2Pulse_RLV.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches