Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009998/0.0009999, allocations: 200.1 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 226.5 MB / 245.4 MB, free: 8.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007534/0.0007534, allocations: 103.4 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002317/0.0002318, allocations: 8 kB / 358.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2572, allocations: 51.29 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.378, allocations: 90.08 MB / 499.5 MB, free: 1.449 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.3784, allocations: 91.94 kB / 499.6 MB, free: 1.359 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03828/0.4167, allocations: 14.33 MB / 0.5018 GB, free: 2.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4167, allocations: 0 / 0.5018 GB, free: 2.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.747e-05/0.4168, allocations: 19.98 kB / 0.5019 GB, free: 2.941 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002172/0.419, allocations: 0.9784 MB / 0.5028 GB, free: 1.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.419, allocations: 12.03 kB / 0.5028 GB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/0.4195, allocations: 111.9 kB / 0.5029 GB, free: 1.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009565/0.4205, allocations: 0.5065 MB / 0.5034 GB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/0.4205, allocations: 53.69 kB / 0.5035 GB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.4207, allocations: 68.36 kB / 0.5035 GB, free: 1.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.4221, allocations: 0.7135 MB / 0.5042 GB, free: 384 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.4222, allocations: 12.11 kB / 0.5043 GB, free: 372 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/0.4223, allocations: 27.94 kB / 0.5043 GB, free: 344 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.4223, allocations: 16 kB / 0.5043 GB, free: 328 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2168/0.6391, allocations: 0.5497 MB / 0.5048 GB, free: 91.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/0.6436, allocations: 2.422 MB / 0.5072 GB, free: 90.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.645, allocations: 0.6114 MB / 0.5078 GB, free: 90.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006808/0.6457, allocations: 319.2 kB / 0.5081 GB, free: 90.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.6457, allocations: 4.562 kB / 0.5081 GB, free: 90.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007423/0.6465, allocations: 386.6 kB / 0.5085 GB, free: 90.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.956e-06/0.6465, allocations: 1.312 kB / 0.5085 GB, free: 90.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.002147/0.6486, allocations: 0.9067 MB / 0.5094 GB, free: 90.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.6487, allocations: 165 kB / 0.5095 GB, free: 90.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008433/0.6496, allocations: 476.8 kB / 0.51 GB, free: 90.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.6497, allocations: 45.28 kB / 0.51 GB, free: 90.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.65, allocations: 325.1 kB / 0.5103 GB, free: 89.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.6501, allocations: 161.1 kB / 0.5105 GB, free: 89.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.6501, allocations: 9.281 kB / 0.5105 GB, free: 89.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.6502, allocations: 366.2 kB / 0.5108 GB, free: 89.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/0.6508, allocations: 217.8 kB / 0.511 GB, free: 89.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.6514, allocations: 386.2 kB / 0.5114 GB, free: 89.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/0.6522, allocations: 0.5421 MB / 0.5119 GB, free: 89.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.6522, allocations: 0 / 0.5119 GB, free: 89.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001137/0.6534, allocations: 0.6823 MB / 0.5126 GB, free: 88.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.719e-05/0.6535, allocations: 222.1 kB / 0.5128 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6535, allocations: 3.688 kB / 0.5128 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002837/0.6538, allocations: 86.86 kB / 0.5129 GB, free: 88.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.6542, allocations: 107.3 kB / 0.513 GB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.6555, allocations: 1.732 MB / 0.5147 GB, free: 87.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.6559, allocations: 95.31 kB / 0.5148 GB, free: 86.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.656, allocations: 23.42 kB / 0.5148 GB, free: 86.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.222e-06/0.656, allocations: 3.875 kB / 0.5148 GB, free: 86.99 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008669/0.6569, allocations: 0.5727 MB / 0.5154 GB, free: 86.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6569, allocations: 3.938 kB / 0.5154 GB, free: 86.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.657, allocations: 83.52 kB / 0.5155 GB, free: 86.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.6574, allocations: 99.72 kB / 0.5156 GB, free: 86.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.6585, allocations: 1.742 MB / 0.5173 GB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.6589, allocations: 79.7 kB / 0.5173 GB, free: 85.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.659, allocations: 19.5 kB / 0.5174 GB, free: 85.12 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_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_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 (65): * 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: 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.0003779/0.6593, allocations: 327.6 kB / 0.5177 GB, free: 84.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.6594, allocations: 54 kB / 0.5177 GB, free: 84.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.6595, allocations: 68.38 kB / 0.5178 GB, free: 84.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.6595, allocations: 3.969 kB / 0.5178 GB, free: 84.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6596, allocations: 3.781 kB / 0.5178 GB, free: 84.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.6596, allocations: 3.609 kB / 0.5178 GB, free: 84.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.6614, allocations: 1.438 MB / 0.5192 GB, free: 84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6614, allocations: 0 / 0.5192 GB, free: 84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.6617, allocations: 78.69 kB / 0.5193 GB, free: 83.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.6619, allocations: 73.53 kB / 0.5193 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.6619, allocations: 11.53 kB / 0.5194 GB, free: 83.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.663, allocations: 1.653 MB / 0.521 GB, free: 82.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.663, allocations: 0 / 0.521 GB, free: 82.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.6644, allocations: 0.9533 MB / 0.5219 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.6646, allocations: 179.7 kB / 0.5221 GB, free: 81.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.6646, allocations: 15.62 kB / 0.5221 GB, free: 81.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.665, allocations: 56.91 kB / 0.5221 GB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.6651, allocations: 55.42 kB / 0.5222 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.6651, allocations: 21.38 kB / 0.5222 GB, free: 81.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002899/0.6654, allocations: 327.1 kB / 0.5225 GB, free: 81.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6654, allocations: 0 / 0.5225 GB, free: 81.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008455/0.6663, allocations: 316.4 kB / 0.5228 GB, free: 81.58 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_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: 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 (45): * Single equations (assignments): 39 * 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.0002215/0.6665, allocations: 139.9 kB / 0.523 GB, free: 81.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.6681, allocations: 1.1 MB / 0.524 GB, free: 80.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6682, allocations: 0 / 0.524 GB, free: 80.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.6687, allocations: 432.6 kB / 0.5244 GB, free: 80.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.6693, allocations: 95.28 kB / 0.5245 GB, free: 80.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.6712, allocations: 1.526 MB / 0.526 GB, free: 79.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.6716, allocations: 0.9395 MB / 0.5269 GB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003275/0.6719, allocations: 97.25 kB / 0.527 GB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.672, allocations: 38.62 kB / 0.5271 GB, free: 79.06 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.672, allocations: 0 / 0.5271 GB, free: 79.06 MB / 378.7 MB Notification: Performance of Templates: time 0.01177/0.6838, allocations: 7.894 MB / 0.5348 GB, free: 75.09 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV_Characteristic/ThyristorCenterTap2Pulse_RLV_Characteristic.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches