Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001554, allocations: 185.5 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001087/0.001086, allocations: 94.84 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004959, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.335, allocations: 47.56 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.4721, allocations: 87.93 MB / 462.5 MB, free: 8.824 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/0.4725, allocations: 91.94 kB / 462.6 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05898/0.5315, allocations: 13.94 MB / 476.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5316, allocations: 0 / 476.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.698e-05/0.5317, allocations: 20 kB / 476.5 MB, free: 10.7 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.00266/0.5343, allocations: 0.9618 MB / 477.5 MB, free: 9.676 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.5344, allocations: 12.03 kB / 477.5 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.5346, allocations: 82.97 kB / 477.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.5358, allocations: 0.4979 MB / 478.1 MB, free: 9.039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/0.5359, allocations: 53.31 kB / 478.1 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.5361, allocations: 71.98 kB / 478.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.5382, allocations: 0.7137 MB / 478.9 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.5383, allocations: 4 kB / 478.9 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.5384, allocations: 24 kB / 478.9 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.5384, allocations: 16 kB / 479 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.5402, allocations: 0.5399 MB / 479.5 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/0.5468, allocations: 2.659 MB / 482.2 MB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.5488, allocations: 0.589 MB / 482.8 MB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.911e-05/0.5489, allocations: 12.38 kB / 482.8 MB, free: 4.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009593/0.5499, allocations: 357.6 kB / 483.1 MB, free: 3.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 6.432e-06/0.5499, allocations: 3.984 kB / 483.1 MB, free: 3.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.003805/0.5537, allocations: 0.9913 MB / 484.1 MB, free: 2.793 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.5539, allocations: 111.4 kB / 484.2 MB, free: 2.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009909/0.5549, allocations: 449 kB / 484.7 MB, free: 2.215 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.555, allocations: 41.7 kB / 484.7 MB, free: 2.168 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000334/0.5553, allocations: 363.2 kB / 485.1 MB, free: 1.812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.5556, allocations: 169.6 kB / 485.2 MB, free: 1.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.5557, allocations: 16 kB / 485.2 MB, free: 1.629 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5558, allocations: 338.9 kB / 485.6 MB, free: 1.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007054/0.5566, allocations: 205.2 kB / 485.8 MB, free: 1.086 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008684/0.5574, allocations: 372.1 kB / 486.1 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.5582, allocations: 226.1 kB / 486.3 MB, free: 452 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.5582, allocations: 0 / 486.3 MB, free: 452 kB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002057/0.5603, allocations: 0.6763 MB / 487 MB, free: 15.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007878/0.5611, allocations: 1.567 MB / 488.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.5612, allocations: 7.984 kB / 488.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008285/0.562, allocations: 149.6 kB / 488.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.5628, allocations: 91.83 kB / 488.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005331/0.5681, allocations: 3.486 MB / 492.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009659/0.5692, allocations: 87.56 kB / 492.4 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/0.5692, allocations: 24 kB / 492.4 MB, free: 9.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5693, allocations: 4 kB / 492.4 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001846/0.5711, allocations: 0.6082 MB / 493 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.5712, allocations: 4 kB / 493 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006375/0.5718, allocations: 137.6 kB / 493.2 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.5725, allocations: 91.78 kB / 493.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004918/0.5774, allocations: 3.479 MB / 496.7 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.5781, allocations: 63.66 kB / 496.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.5782, allocations: 23.95 kB / 496.8 MB, free: 5.266 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,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_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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006331/0.5788, allocations: 317 kB / 497.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.579, allocations: 63.23 kB / 497.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.5792, allocations: 65.59 kB / 497.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.5792, allocations: 8 kB / 497.3 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5793, allocations: 3.938 kB / 497.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.5793, allocations: 7.922 kB / 497.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.5828, allocations: 1.386 MB / 498.7 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5828, allocations: 0 / 498.7 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.5833, allocations: 51.97 kB / 498.7 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006603/0.584, allocations: 141.5 kB / 498.9 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.5841, allocations: 19.98 kB / 498.9 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2683/0.8524, allocations: 3.302 MB / 0.4904 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8524, allocations: 0.625 kB / 0.4904 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002966/0.8554, allocations: 0.9268 MB / 0.4913 GB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.8558, allocations: 192.3 kB / 0.4915 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.856, allocations: 15.12 kB / 0.4915 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/0.8566, allocations: 38.34 kB / 0.4916 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.8569, allocations: 82.8 kB / 0.4916 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/0.857, allocations: 17.75 kB / 0.4917 GB, free: 103.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007067/0.8577, allocations: 342.3 kB / 0.492 GB, free: 103.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.8577, allocations: 0 / 0.492 GB, free: 103.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001609/0.8594, allocations: 337.3 kB / 0.4923 GB, free: 103.8 MB / 378.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,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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002673/0.8597, allocations: 137.8 kB / 0.4924 GB, free: 103.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003141/0.8628, allocations: 1.381 MB / 0.4938 GB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.8629, allocations: 0 / 0.4938 GB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.864, allocations: 0.5308 MB / 0.4943 GB, free: 103 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.865, allocations: 101.5 kB / 0.4944 GB, free: 103 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.8688, allocations: 1.574 MB / 0.4959 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.8694, allocations: 0.951 MB / 0.4969 GB, free: 101.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.8697, allocations: 41.59 kB / 0.4969 GB, free: 101.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.8697, allocations: 0 / 0.4969 GB, free: 101.5 MB / 378.7 MB Notification: Performance of Templates: time 0.0241/0.8938, allocations: 13.51 MB / 0.5101 GB, free: 99.07 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches