Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001756/0.001756, allocations: 197.9 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008976/0.0008975, allocations: 90.64 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.128e-05, allocations: 7.984 kB / 343.7 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 51.48 MB / 395.2 MB, free: 4.703 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.366/0.478, allocations: 89.63 MB / 484.8 MB, free: 3.539 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.4783, allocations: 82.64 kB / 484.9 MB, free: 3.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03687/0.5152, allocations: 15.04 MB / 499.9 MB, free: 7.086 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5152, allocations: 0 / 499.9 MB, free: 7.086 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.805e-05/0.5153, allocations: 16 kB / 500 MB, free: 7.07 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001878/0.5172, allocations: 0.9206 MB / 0.4891 GB, free: 6.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5172, allocations: 16.03 kB / 0.4892 GB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003651/0.5176, allocations: 103.7 kB / 0.4893 GB, free: 6.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.5185, allocations: 0.5186 MB / 0.4898 GB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.5186, allocations: 24 kB / 0.4898 GB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.5187, allocations: 47.98 kB / 0.4898 GB, free: 5.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008926/0.5196, allocations: 0.4888 MB / 0.4903 GB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.5207, allocations: 0.6477 MB / 0.4909 GB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.5207, allocations: 0 / 0.4909 GB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.696e-05/0.5208, allocations: 6.547 kB / 0.4909 GB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.5208, allocations: 20 kB / 0.491 GB, free: 4.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/0.5246, allocations: 2.65 MB / 0.4935 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007054/0.5253, allocations: 0.5249 MB / 0.4941 GB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/0.5259, allocations: 374.4 kB / 0.4944 GB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.898e-05/0.526, allocations: 8.562 kB / 0.4944 GB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005031/0.5265, allocations: 357.2 kB / 0.4948 GB, free: 1.664 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 2.214e-06/0.5265, allocations: 0 / 0.4948 GB, free: 1.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.0008635/0.5274, allocations: 0.523 MB / 0.4953 GB, free: 1.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.5275, allocations: 144.4 kB / 0.4954 GB, free: 1.102 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.5279, allocations: 381.6 kB / 0.4958 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.214e-05/0.528, allocations: 36.88 kB / 0.4958 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.5282, allocations: 346.3 kB / 0.4961 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.5283, allocations: 174.1 kB / 0.4963 GB, free: 372 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.5284, allocations: 0 / 0.4963 GB, free: 372 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5285, allocations: 362.7 kB / 0.4967 GB, free: 24 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.5288, allocations: 193.5 kB / 0.4968 GB, free: 15.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.5292, allocations: 348.9 kB / 0.4972 GB, free: 15.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.5295, allocations: 207.4 kB / 0.4974 GB, free: 15.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5295, allocations: 4 kB / 0.4974 GB, free: 15.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0009951/0.5305, allocations: 0.6538 MB / 0.498 GB, free: 14.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006155/0.5312, allocations: 1.57 MB / 0.4995 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5312, allocations: 4 kB / 0.4996 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.5317, allocations: 156.4 kB / 0.4997 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.5321, allocations: 103.1 kB / 0.4998 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/0.5354, allocations: 3.498 MB / 0.5032 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.5359, allocations: 83.55 kB / 0.5033 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.536, allocations: 24 kB / 0.5033 GB, free: 9.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.536, allocations: 4 kB / 0.5033 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009473/0.537, allocations: 0.5538 MB / 0.5039 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.537, allocations: 7.953 kB / 0.5039 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.5374, allocations: 161.6 kB / 0.504 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.5377, allocations: 99.89 kB / 0.5041 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.5409, allocations: 3.494 MB / 0.5075 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.5414, allocations: 67.61 kB / 0.5076 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.5414, allocations: 20 kB / 0.5076 GB, free: 4.816 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_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,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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.0002035/0.5416, allocations: 142.2 kB / 0.5078 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.5418, allocations: 63.25 kB / 0.5078 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.5419, allocations: 65.72 kB / 0.5079 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.5419, allocations: 4 kB / 0.5079 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5419, allocations: 0 / 0.5079 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.542, allocations: 8 kB / 0.5079 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.5444, allocations: 1.347 MB / 0.5092 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5444, allocations: 7.562 kB / 0.5092 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.5448, allocations: 55.95 kB / 0.5093 GB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.5452, allocations: 149.5 kB / 0.5094 GB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.5452, allocations: 3.984 kB / 0.5094 GB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003107/0.5484, allocations: 3.383 MB / 0.5127 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5484, allocations: 4 kB / 0.5127 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.5498, allocations: 0.9412 MB / 0.5136 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.55, allocations: 180.4 kB / 0.5138 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.963e-05/0.5501, allocations: 11.98 kB / 0.5138 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.5505, allocations: 31.97 kB / 0.5138 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.5507, allocations: 76.45 kB / 0.5139 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.5507, allocations: 19.98 kB / 0.5139 GB, free: 14.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003375/0.551, allocations: 290.9 kB / 0.5142 GB, free: 13.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5511, allocations: 0.6562 kB / 0.5142 GB, free: 13.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001243/0.5523, allocations: 334.8 kB / 0.5145 GB, free: 13.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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_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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * 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: 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.0002576/0.5526, allocations: 137.3 kB / 0.5147 GB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.5546, allocations: 1.352 MB / 0.516 GB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5546, allocations: 256 / 0.516 GB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006676/0.5553, allocations: 0.5169 MB / 0.5165 GB, free: 11.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.5559, allocations: 78.05 kB / 0.5166 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.5581, allocations: 1.005 MB / 0.5175 GB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/0.5588, allocations: 0.9787 MB / 0.5185 GB, free: 9.219 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004861/0.5593, allocations: 124.2 kB / 0.5186 GB, free: 9.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-05/0.5594, allocations: 35.44 kB / 0.5187 GB, free: 9.062 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5594, allocations: 0 / 0.5187 GB, free: 9.062 MB / 394.7 MB Notification: Performance of Templates: time 0.02026/0.5797, allocations: 10.17 MB / 0.5286 GB, free: 15.11 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV/ThyristorBridge2Pulse_RLV.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches