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.001984/0.001984, allocations: 181.3 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.04/3.04, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.001181/0.001181, allocations: 86.36 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005883/0.0005883, allocations: 8 kB / 328.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5706, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.7721, allocations: 88.3 MB / 464 MB, free: 8.312 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006278/0.7729, allocations: 87.94 kB / 464.1 MB, free: 8.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05279/0.8257, allocations: 14.23 MB / 478.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.889e-06/0.8258, allocations: 0 / 478.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.453e-05/0.8259, allocations: 23.94 kB / 478.4 MB, free: 9.898 MB / 362.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.002352/0.8283, allocations: 0.9715 MB / 479.3 MB, free: 8.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.8284, allocations: 8.031 kB / 479.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.8286, allocations: 87.91 kB / 479.4 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009735/0.8295, allocations: 0.5268 MB / 480 MB, free: 8.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.909e-05/0.8296, allocations: 50.38 kB / 480 MB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.8298, allocations: 72.38 kB / 480.1 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.8313, allocations: 0.7425 MB / 480.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.8314, allocations: 192 / 480.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.77e-05/0.8315, allocations: 35.92 kB / 480.9 MB, free: 7.281 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.8315, allocations: 16 kB / 480.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.8328, allocations: 0.5517 MB / 481.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006716/0.8395, allocations: 2.705 MB / 484.1 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.8417, allocations: 0.6134 MB / 484.7 MB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.8433, allocations: 418.5 kB / 485.1 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.866e-05/0.8434, allocations: 16.41 kB / 485.2 MB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/0.8445, allocations: 365.8 kB / 485.5 MB, free: 2.469 MB / 362.7 MB Notification: Performance of pre-optimization done (n=58): time 5.16e-06/0.8446, allocations: 0 / 485.5 MB, free: 2.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.004653/0.8492, allocations: 1.06 MB / 486.6 MB, free: 1.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.8494, allocations: 115.4 kB / 486.7 MB, free: 1.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.8509, allocations: 0.5056 MB / 487.2 MB, free: 0.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.8511, allocations: 45.69 kB / 487.2 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/0.8516, allocations: 324.3 kB / 487.6 MB, free: 340 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.8519, allocations: 177.5 kB / 487.7 MB, free: 160 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.852, allocations: 12 kB / 487.7 MB, free: 148 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003592/0.8524, allocations: 370.8 kB / 488.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007744/0.8531, allocations: 217.2 kB / 488.3 MB, free: 15.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.8542, allocations: 372.1 kB / 488.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.8558, allocations: 0.5136 MB / 489.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.8559, allocations: 4 kB / 489.2 MB, free: 14.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0027/0.8586, allocations: 0.7419 MB / 489.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.8589, allocations: 210.1 kB / 490.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.8589, allocations: 4 kB / 490.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009406/0.8599, allocations: 169.6 kB / 490.3 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.8605, allocations: 99.75 kB / 490.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005435/0.866, allocations: 3.607 MB / 494 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.8668, allocations: 87.48 kB / 494.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.8669, allocations: 28.06 kB / 494.1 MB, free: 9.281 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.8669, allocations: 4 kB / 494.1 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001559/0.8684, allocations: 0.6358 MB / 494.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.8685, allocations: 4 kB / 494.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.8691, allocations: 161.8 kB / 494.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.8696, allocations: 91.83 kB / 495 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005633/0.8752, allocations: 3.615 MB / 498.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.8763, allocations: 79.56 kB / 498.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.8764, allocations: 24 kB / 498.7 MB, free: 4.395 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,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 () * Number of clocked 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.0009356/0.8773, allocations: 313 kB / 499 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.8776, allocations: 63.28 kB / 499.1 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.8778, allocations: 69.59 kB / 499.2 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.8778, allocations: 4 kB / 499.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.8779, allocations: 4 kB / 499.2 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.8779, allocations: 7.984 kB / 499.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/0.8814, allocations: 1.438 MB / 0.4889 GB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.8814, allocations: 0 / 0.4889 GB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.8818, allocations: 59.84 kB / 0.489 GB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006369/0.8825, allocations: 149.6 kB / 0.4891 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.8825, allocations: 12 kB / 0.4891 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.503/1.386, allocations: 3.515 MB / 0.4925 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/1.386, allocations: 0.5312 kB / 0.4925 GB, free: 103.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004683/1.39, allocations: 0.9654 MB / 0.4935 GB, free: 103.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007901/1.391, allocations: 192.3 kB / 0.4937 GB, free: 103.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/1.391, allocations: 15.97 kB / 0.4937 GB, free: 103.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/1.392, allocations: 43.75 kB / 0.4937 GB, free: 103.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004228/1.393, allocations: 85.44 kB / 0.4938 GB, free: 103.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/1.393, allocations: 13.91 kB / 0.4938 GB, free: 103.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001039/1.394, allocations: 352.3 kB / 0.4942 GB, free: 103.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.884e-06/1.394, allocations: 1.031 kB / 0.4942 GB, free: 103.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002991/1.397, allocations: 347.9 kB / 0.4945 GB, free: 103.2 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) * Number of clocked states: 0 () * 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.0005055/1.397, allocations: 140.8 kB / 0.4946 GB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00446/1.402, allocations: 1.425 MB / 0.496 GB, free: 102.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/1.402, allocations: 1.031 kB / 0.496 GB, free: 102.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/1.403, allocations: 0.559 MB / 0.4966 GB, free: 102.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/1.405, allocations: 111.8 kB / 0.4967 GB, free: 102.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005578/1.411, allocations: 1.625 MB / 0.4983 GB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000873/1.412, allocations: 0.9393 MB / 0.4992 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/1.412, allocations: 40.94 kB / 0.4992 GB, free: 100.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.073e-06/1.412, allocations: 1.281 kB / 0.4992 GB, free: 100.9 MB / 378.7 MB Notification: Performance of Templates: time 0.03801/1.45, allocations: 14.31 MB / 0.5132 GB, free: 97.88 MB / 378.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