Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 176.5 kB / 17.4 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 241.4 MB, free: 11.73 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008054/0.0008056, allocations: 98.03 kB / 292.6 MB, free: 10.81 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003893, allocations: 15.94 kB / 352.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2553, allocations: 50.4 MB / 402.8 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.3577, allocations: 89.1 MB / 491.9 MB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.358, allocations: 89.92 kB / 492 MB, free: 7.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02848/0.3865, allocations: 11.42 MB / 0.4916 GB, free: 11.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3865, allocations: 3.938 kB / 0.4916 GB, free: 11.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.328e-05/0.3866, allocations: 16 kB / 0.4916 GB, free: 11.65 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002544/0.3892, allocations: 0.9584 MB / 0.4925 GB, free: 10.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.3892, allocations: 11.97 kB / 0.4925 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.3896, allocations: 87.91 kB / 0.4926 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3906, allocations: 0.5067 MB / 0.4931 GB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/0.3907, allocations: 53.69 kB / 0.4932 GB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.3908, allocations: 64.38 kB / 0.4932 GB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.3924, allocations: 0.7307 MB / 0.4939 GB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.3924, allocations: 192 / 0.4939 GB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.3925, allocations: 31.94 kB / 0.494 GB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3925, allocations: 16 kB / 0.494 GB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.3936, allocations: 0.5517 MB / 0.4945 GB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.3978, allocations: 2.678 MB / 0.4971 GB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/0.3988, allocations: 0.5478 MB / 0.4977 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/0.3994, allocations: 322 kB / 0.498 GB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.3994, allocations: 8.438 kB / 0.498 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006049/0.4, allocations: 366 kB / 0.4983 GB, free: 4.453 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.034e-06/0.4, allocations: 0 / 0.4983 GB, free: 4.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.002449/0.4025, allocations: 1.027 MB / 0.4993 GB, free: 3.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.4026, allocations: 141.1 kB / 0.4995 GB, free: 3.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006993/0.4033, allocations: 0.5018 MB / 0.5 GB, free: 2.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.096e-05/0.4034, allocations: 41.7 kB / 0.5 GB, free: 2.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.4036, allocations: 316.3 kB / 0.5003 GB, free: 2.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.4038, allocations: 173.6 kB / 0.5005 GB, free: 2.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.4038, allocations: 16 kB / 0.5005 GB, free: 2.172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.404, allocations: 366.8 kB / 0.5008 GB, free: 1.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.4044, allocations: 201.2 kB / 0.501 GB, free: 1.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.4049, allocations: 381 kB / 0.5014 GB, free: 1.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007966/0.4057, allocations: 0.5018 MB / 0.5019 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4057, allocations: 0 / 0.5019 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.211/0.6167, allocations: 0.7042 MB / 0.5026 GB, free: 95.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.6169, allocations: 209.5 kB / 0.5028 GB, free: 95.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.6169, allocations: 5.359 kB / 0.5028 GB, free: 95.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/0.6175, allocations: 153 kB / 0.5029 GB, free: 95.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.618, allocations: 91.06 kB / 0.503 GB, free: 95.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.6208, allocations: 2.324 MB / 0.5053 GB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.6214, allocations: 90 kB / 0.5054 GB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.6214, allocations: 24 kB / 0.5054 GB, free: 93.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.6214, allocations: 4.125 kB / 0.5054 GB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001041/0.6225, allocations: 0.6001 MB / 0.506 GB, free: 93.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.6225, allocations: 6.625 kB / 0.506 GB, free: 93.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/0.6229, allocations: 156.1 kB / 0.5061 GB, free: 93.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.6232, allocations: 82.89 kB / 0.5062 GB, free: 93.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.6257, allocations: 2.328 MB / 0.5085 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.6262, allocations: 80.36 kB / 0.5086 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.6263, allocations: 24.95 kB / 0.5086 GB, free: 92.54 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: 27 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_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 (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004864/0.6268, allocations: 314.3 kB / 0.5089 GB, free: 92.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.6269, allocations: 59.59 kB / 0.5089 GB, free: 92.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.627, allocations: 70.36 kB / 0.509 GB, free: 92.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.6271, allocations: 10.33 kB / 0.509 GB, free: 92.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6271, allocations: 0.5 kB / 0.509 GB, free: 92.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.6271, allocations: 3.812 kB / 0.509 GB, free: 92.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.629, allocations: 1.404 MB / 0.5104 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.629, allocations: 5.266 kB / 0.5104 GB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.6292, allocations: 46.06 kB / 0.5104 GB, free: 91.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/0.6296, allocations: 146 kB / 0.5106 GB, free: 91.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.6296, allocations: 10.34 kB / 0.5106 GB, free: 91.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.6318, allocations: 2.326 MB / 0.5129 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6318, allocations: 3.656 kB / 0.5129 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.633, allocations: 0.9338 MB / 0.5138 GB, free: 89.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.6333, allocations: 186.6 kB / 0.514 GB, free: 89.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.997e-05/0.6333, allocations: 19.09 kB / 0.514 GB, free: 89.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.6337, allocations: 42.69 kB / 0.514 GB, free: 89.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.6338, allocations: 63.45 kB / 0.5141 GB, free: 89.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.6338, allocations: 20.84 kB / 0.5141 GB, free: 89.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004102/0.6343, allocations: 348.3 kB / 0.5144 GB, free: 89.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6343, allocations: 3.094 kB / 0.5144 GB, free: 89.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001163/0.6354, allocations: 337.2 kB / 0.5148 GB, free: 89.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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.diode_n1.off,rectifier.diode_n2.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_p2.off,rectifier.thyristor_p1.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002563/0.6357, allocations: 145.5 kB / 0.5149 GB, free: 89.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.6375, allocations: 1.216 MB / 0.5161 GB, free: 88.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6375, allocations: 3.781 kB / 0.5161 GB, free: 88.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005297/0.638, allocations: 461.2 kB / 0.5165 GB, free: 88.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000666/0.6387, allocations: 118 kB / 0.5166 GB, free: 88.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.6408, allocations: 1.477 MB / 0.5181 GB, free: 87.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.6413, allocations: 0.9444 MB / 0.519 GB, free: 86.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003695/0.6416, allocations: 97.48 kB / 0.5191 GB, free: 86.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/0.6417, allocations: 42.62 kB / 0.5191 GB, free: 86.59 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6417, allocations: 0 / 0.5191 GB, free: 86.59 MB / 378.7 MB Notification: Performance of Templates: time 0.01585/0.6576, allocations: 10.29 MB / 0.5292 GB, free: 82.28 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches