Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 197.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 227.2 MB / 245 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008412/0.0008411, allocations: 91.5 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002103/0.0002103, allocations: 8 kB / 358 MB, free: 9.289 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1983, allocations: 51.47 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.3054, allocations: 89.25 MB / 498.7 MB, free: 1.316 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.3057, allocations: 99.42 kB / 498.8 MB, free: 1.223 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03452/0.3402, allocations: 13.56 MB / 0.5003 GB, free: 3.602 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.536e-06/0.3402, allocations: 0 / 0.5003 GB, free: 3.602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.416e-05/0.3403, allocations: 23.94 kB / 0.5004 GB, free: 3.578 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001794/0.3421, allocations: 0.9183 MB / 0.5013 GB, free: 2.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3421, allocations: 8.031 kB / 0.5013 GB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.3425, allocations: 107 kB / 0.5014 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/0.3433, allocations: 485.9 kB / 0.5018 GB, free: 1.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.3434, allocations: 45.31 kB / 0.5019 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.785e-05/0.3434, allocations: 68 kB / 0.5019 GB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.3446, allocations: 0.6621 MB / 0.5026 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.3446, allocations: 0 / 0.5026 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/0.3447, allocations: 24 kB / 0.5026 GB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.3447, allocations: 12 kB / 0.5026 GB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009741/0.3457, allocations: 0.5009 MB / 0.5031 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1706/0.5163, allocations: 2.298 MB / 0.5053 GB, free: 90.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008757/0.5172, allocations: 431.7 kB / 0.5058 GB, free: 90.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/0.5173, allocations: 7.547 kB / 0.5058 GB, free: 90.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006681/0.518, allocations: 315.9 kB / 0.5061 GB, free: 90.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 4.138e-06/0.518, allocations: 3.609 kB / 0.5061 GB, free: 90.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001759/0.5197, allocations: 0.7744 MB / 0.5068 GB, free: 89.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.5198, allocations: 141 kB / 0.507 GB, free: 89.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.5204, allocations: 434.6 kB / 0.5074 GB, free: 89.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/0.5205, allocations: 42.27 kB / 0.5074 GB, free: 89.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.5207, allocations: 320.1 kB / 0.5077 GB, free: 89.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.5208, allocations: 136.1 kB / 0.5079 GB, free: 89.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.5209, allocations: 11.31 kB / 0.5079 GB, free: 89.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.521, allocations: 362.1 kB / 0.5082 GB, free: 89.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.5214, allocations: 187.8 kB / 0.5084 GB, free: 89.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/0.5218, allocations: 342.2 kB / 0.5087 GB, free: 88.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.5222, allocations: 205.5 kB / 0.5089 GB, free: 88.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5222, allocations: 2.469 kB / 0.5089 GB, free: 88.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001098/0.5233, allocations: 0.6111 MB / 0.5095 GB, free: 88.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002889/0.5236, allocations: 1.574 MB / 0.511 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5236, allocations: 4.125 kB / 0.5111 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/0.5239, allocations: 89.66 kB / 0.5111 GB, free: 87.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.5243, allocations: 91.97 kB / 0.5112 GB, free: 87.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.5261, allocations: 1.85 MB / 0.513 GB, free: 85.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.5266, allocations: 87.73 kB / 0.5131 GB, free: 85.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.5266, allocations: 23.89 kB / 0.5131 GB, free: 85.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.5267, allocations: 3.812 kB / 0.5131 GB, free: 85.84 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000799/0.5275, allocations: 0.5119 MB / 0.5136 GB, free: 85.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.5275, allocations: 7.938 kB / 0.5136 GB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.5277, allocations: 93.64 kB / 0.5137 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.528, allocations: 80.31 kB / 0.5138 GB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.5293, allocations: 1.851 MB / 0.5156 GB, free: 83.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.5296, allocations: 73.11 kB / 0.5157 GB, free: 83.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.5297, allocations: 19.28 kB / 0.5157 GB, free: 83.95 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: 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 (58): * Single equations (assignments): 57 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002872/0.53, allocations: 312.2 kB / 0.516 GB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.5301, allocations: 58.66 kB / 0.5161 GB, free: 83.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.5302, allocations: 58.52 kB / 0.5161 GB, free: 83.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5302, allocations: 8.344 kB / 0.5161 GB, free: 83.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5302, allocations: 0 / 0.5161 GB, free: 83.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.5302, allocations: 3.797 kB / 0.5161 GB, free: 83.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.5316, allocations: 1.207 MB / 0.5173 GB, free: 82.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5317, allocations: 0 / 0.5173 GB, free: 82.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.5319, allocations: 50.02 kB / 0.5174 GB, free: 82.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.5321, allocations: 78.81 kB / 0.5174 GB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.5321, allocations: 12 kB / 0.5174 GB, free: 82.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.5334, allocations: 1.776 MB / 0.5192 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5334, allocations: 0 / 0.5192 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000926/0.5343, allocations: 0.7786 MB / 0.5199 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.5345, allocations: 170.7 kB / 0.5201 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.5346, allocations: 15.86 kB / 0.5201 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.5349, allocations: 49.03 kB / 0.5202 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.535, allocations: 60.34 kB / 0.5202 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.535, allocations: 7.656 kB / 0.5202 GB, free: 80.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003209/0.5353, allocations: 339.8 kB / 0.5206 GB, free: 80.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5354, allocations: 0 / 0.5206 GB, free: 80.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007903/0.5362, allocations: 290.2 kB / 0.5208 GB, free: 80.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (37): * Single equations (assignments): 31 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001546/0.5363, allocations: 136.8 kB / 0.521 GB, free: 80.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.5376, allocations: 1.015 MB / 0.522 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5376, allocations: 3.938 kB / 0.522 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.538, allocations: 378.3 kB / 0.5223 GB, free: 79.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.5385, allocations: 82.08 kB / 0.5224 GB, free: 79.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.54, allocations: 1.315 MB / 0.5237 GB, free: 78.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.5403, allocations: 0.9304 MB / 0.5246 GB, free: 78.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.5406, allocations: 92.39 kB / 0.5247 GB, free: 78.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.5407, allocations: 40.78 kB / 0.5247 GB, free: 78.2 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.5407, allocations: 4 kB / 0.5247 GB, free: 78.2 MB / 378.7 MB Notification: Performance of Templates: time 0.01175/0.5524, allocations: 7.731 MB / 0.5323 GB, free: 75.91 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches