Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_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_R") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 200.1 kB / 8.536 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.203/1.203, allocations: 225.5 MB / 234.4 MB, free: 3.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008861/0.0008861, allocations: 95.38 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.544e-06, allocations: 0 / 343.2 MB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08833/0.08835, allocations: 51.47 MB / 394.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2292/0.3176, allocations: 88.93 MB / 483.6 MB, free: 4.336 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.3179, allocations: 91.75 kB / 483.7 MB, free: 4.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03433/0.3522, allocations: 14.16 MB / 497.8 MB, free: 8.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.405e-05/0.3523, allocations: 16 kB / 497.8 MB, free: 8.613 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001648/0.3539, allocations: 0.8976 MB / 498.7 MB, free: 7.715 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.354, allocations: 12.03 kB / 498.7 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002884/0.3543, allocations: 98.95 kB / 498.8 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.3551, allocations: 0.4929 MB / 499.3 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.3551, allocations: 35.83 kB / 499.4 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.555e-05/0.3552, allocations: 39.94 kB / 499.4 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008229/0.356, allocations: 487.7 kB / 499.9 MB, free: 6.797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/0.357, allocations: 0.6152 MB / 0.4888 GB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.596e-05/0.3571, allocations: 3.984 kB / 0.4888 GB, free: 6.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.3571, allocations: 7.984 kB / 0.4888 GB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.3571, allocations: 16 kB / 0.4888 GB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.3607, allocations: 2.552 MB / 0.4913 GB, free: 4.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007109/0.3614, allocations: 465.7 kB / 0.4917 GB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.3618, allocations: 252.3 kB / 0.492 GB, free: 3.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.3618, allocations: 12.42 kB / 0.492 GB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004277/0.3623, allocations: 314.9 kB / 0.4923 GB, free: 3.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 3.596e-06/0.3623, allocations: 0 / 0.4923 GB, free: 3.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0008623/0.3631, allocations: 492.4 kB / 0.4928 GB, free: 3.121 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.3632, allocations: 139.1 kB / 0.4929 GB, free: 2.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004774/0.3637, allocations: 378.1 kB / 0.4932 GB, free: 2.672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/0.3638, allocations: 36.12 kB / 0.4933 GB, free: 2.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.364, allocations: 270.9 kB / 0.4935 GB, free: 2.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.3641, allocations: 164.7 kB / 0.4937 GB, free: 2.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.3642, allocations: 0.8438 kB / 0.4937 GB, free: 2.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3643, allocations: 366 kB / 0.494 GB, free: 1.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.3646, allocations: 181.7 kB / 0.4942 GB, free: 1.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.365, allocations: 338.2 kB / 0.4945 GB, free: 1.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.3654, allocations: 191.4 kB / 0.4947 GB, free: 1.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3654, allocations: 8 kB / 0.4947 GB, free: 1.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009687/0.3664, allocations: 0.6078 MB / 0.4953 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006343/0.367, allocations: 1.566 MB / 0.4969 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.367, allocations: 4 kB / 0.4969 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.3675, allocations: 161.5 kB / 0.497 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.3679, allocations: 95.33 kB / 0.4971 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.3705, allocations: 2.089 MB / 0.4991 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/0.371, allocations: 75.7 kB / 0.4992 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.3711, allocations: 26.88 kB / 0.4992 GB, free: 13.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.3711, allocations: 8 kB / 0.4993 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008915/0.372, allocations: 0.5118 MB / 0.4997 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.372, allocations: 4 kB / 0.4998 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003948/0.3724, allocations: 153.9 kB / 0.4999 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.3728, allocations: 83.59 kB / 0.5 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.3753, allocations: 2.093 MB / 0.502 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.3757, allocations: 59.81 kB / 0.5021 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.3758, allocations: 20 kB / 0.5021 GB, free: 10.6 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 (63): * Single equations (assignments): 62 * 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.0001921/0.376, allocations: 140.7 kB / 0.5022 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3761, allocations: 55.34 kB / 0.5023 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.3763, allocations: 65.34 kB / 0.5023 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3763, allocations: 4 kB / 0.5024 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3763, allocations: 0 / 0.5024 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-06/0.3763, allocations: 3.984 kB / 0.5024 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.3782, allocations: 1.235 MB / 0.5036 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3783, allocations: 3.938 kB / 0.5036 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.3785, allocations: 52 kB / 0.5036 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004118/0.3789, allocations: 148.7 kB / 0.5038 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.379, allocations: 0 / 0.5038 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/0.3814, allocations: 2.036 MB / 0.5057 GB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.3814, allocations: 3.938 kB / 0.5058 GB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001263/0.3827, allocations: 0.8561 MB / 0.5066 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.383, allocations: 189.6 kB / 0.5068 GB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.3831, allocations: 11.98 kB / 0.5068 GB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.3835, allocations: 35.97 kB / 0.5068 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.3836, allocations: 44.61 kB / 0.5069 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.3836, allocations: 16 kB / 0.5069 GB, free: 5.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003584/0.384, allocations: 283.2 kB / 0.5071 GB, free: 5.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000988/0.385, allocations: 299 kB / 0.5074 GB, free: 4.938 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: 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * 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.0001981/0.3852, allocations: 133.8 kB / 0.5076 GB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.387, allocations: 1.05 MB / 0.5086 GB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.387, allocations: 384 / 0.5086 GB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.3876, allocations: 391.1 kB / 0.509 GB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.3881, allocations: 94.16 kB / 0.509 GB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.3903, allocations: 0.9179 MB / 0.5099 GB, free: 2.312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000628/0.3909, allocations: 0.9896 MB / 0.5109 GB, free: 1.297 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3909, allocations: 0 / 0.5109 GB, free: 1.297 MB / 378.7 MB Notification: Performance of Templates: time 0.01986/0.4108, allocations: 11.59 MB / 0.5222 GB, free: 5.914 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches