Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002475/0.002475, allocations: 180.5 kB / 17.41 MB, free: 4.383 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.458/3.458, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0009598/0.0009598, allocations: 86.34 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005475/0.0005478, allocations: 12 kB / 328.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4706, allocations: 47.56 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.6551, allocations: 88.05 MB / 463.8 MB, free: 8.551 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/0.6556, allocations: 91.94 kB / 463.9 MB, free: 8.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06188/0.7175, allocations: 13.38 MB / 477.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.958e-06/0.7175, allocations: 0 / 477.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001201/0.7177, allocations: 12 kB / 477.3 MB, free: 11 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004093/0.7218, allocations: 0.9435 MB / 478.2 MB, free: 10 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.021e-05/0.7219, allocations: 8.031 kB / 478.2 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003696/0.7223, allocations: 87.92 kB / 478.3 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.7235, allocations: 0.4911 MB / 478.8 MB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-05/0.7236, allocations: 53.67 kB / 478.9 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.7238, allocations: 60.38 kB / 478.9 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.7266, allocations: 0.6853 MB / 479.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.494e-05/0.7267, allocations: 4.188 kB / 479.6 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.7268, allocations: 27.94 kB / 479.6 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/0.7269, allocations: 16 kB / 479.6 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.7289, allocations: 0.5359 MB / 480.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005175/0.7341, allocations: 2.337 MB / 482.5 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.7362, allocations: 0.5725 MB / 483.1 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.7372, allocations: 313.1 kB / 483.4 MB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.243e-05/0.7373, allocations: 4.375 kB / 483.4 MB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.7385, allocations: 365.2 kB / 483.8 MB, free: 4.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 5.851e-06/0.7385, allocations: 0 / 483.8 MB, free: 4.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.003652/0.7422, allocations: 0.8714 MB / 484.6 MB, free: 3.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.7423, allocations: 144.9 kB / 484.8 MB, free: 3.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.7434, allocations: 453.8 kB / 485.2 MB, free: 2.719 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.7436, allocations: 41.69 kB / 485.3 MB, free: 2.672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.744, allocations: 316.3 kB / 485.6 MB, free: 2.359 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.7443, allocations: 149.9 kB / 485.7 MB, free: 2.211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.7443, allocations: 16 kB / 485.7 MB, free: 2.195 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.7446, allocations: 366.7 kB / 486.1 MB, free: 1.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008094/0.7454, allocations: 205 kB / 486.3 MB, free: 1.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.7465, allocations: 356.5 kB / 486.6 MB, free: 1.215 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.7481, allocations: 0.5185 MB / 487.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.7481, allocations: 3.938 kB / 487.2 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002637/0.7508, allocations: 0.6486 MB / 487.8 MB, free: 15.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003745/0.7512, allocations: 218.4 kB / 488 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.7512, allocations: 4 kB / 488 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.7518, allocations: 88.69 kB / 488.1 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.7525, allocations: 95.89 kB / 488.2 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/0.7555, allocations: 1.729 MB / 489.9 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009956/0.7566, allocations: 87.55 kB / 490 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/0.7567, allocations: 20 kB / 490 MB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.7567, allocations: 11.53 kB / 490 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001898/0.7586, allocations: 0.5539 MB / 490.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.7586, allocations: 4 kB / 490.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004286/0.7591, allocations: 84.88 kB / 490.7 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.7597, allocations: 99.86 kB / 490.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/0.7627, allocations: 1.734 MB / 492.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/0.7636, allocations: 75.53 kB / 492.6 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/0.7637, allocations: 31.98 kB / 492.6 MB, free: 10.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008738/0.7646, allocations: 301.8 kB / 492.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.7649, allocations: 59.33 kB / 493 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.7651, allocations: 61.45 kB / 493 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.7652, allocations: 11.94 kB / 493 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.7652, allocations: 3.938 kB / 493 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.7652, allocations: 3.984 kB / 493.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/0.7694, allocations: 1.378 MB / 494.4 MB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.7695, allocations: 3.938 kB / 494.4 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/0.7701, allocations: 71.92 kB / 494.5 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/0.7706, allocations: 76.81 kB / 494.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/0.7707, allocations: 7.984 kB / 494.6 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.7737, allocations: 1.648 MB / 496.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7737, allocations: 0 / 496.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.7768, allocations: 0.9219 MB / 497.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005391/0.7774, allocations: 176.4 kB / 497.3 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.7776, allocations: 16 kB / 497.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.7782, allocations: 43.95 kB / 497.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.7785, allocations: 60.36 kB / 497.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/0.7786, allocations: 19.98 kB / 497.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007422/0.7794, allocations: 303.1 kB / 497.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7794, allocations: 0 / 497.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001878/0.7813, allocations: 295 kB / 498 MB, free: 5.137 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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004326/0.7817, allocations: 137.4 kB / 498.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.7851, allocations: 1.064 MB / 499.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.7852, allocations: 4 kB / 499.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.7863, allocations: 406.1 kB / 499.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.7877, allocations: 101.8 kB / 499.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.7919, allocations: 1.483 MB / 0.4895 GB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008583/0.7928, allocations: 0.9142 MB / 0.4904 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.7931, allocations: 43.42 kB / 0.4904 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.7931, allocations: 4 kB / 0.4904 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of Templates: time 0.381/1.174, allocations: 10.26 MB / 0.5004 GB, free: 104 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV_Characteristic/ThyristorCenterTap2Pulse_RLV_Characteristic.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches