Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.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_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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") [: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.00177/0.00177, allocations: 201.3 kB / 8.544 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008907/0.0008907, allocations: 97.61 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.664e-06, allocations: 4 kB / 343.2 MB, free: 8.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.08147, allocations: 51.47 MB / 394.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2227/0.3043, allocations: 89.27 MB / 483.9 MB, free: 3.961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.3045, allocations: 89.94 kB / 484 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03516/0.3397, allocations: 14.5 MB / 498.5 MB, free: 7.969 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.105e-05/0.3397, allocations: 16 kB / 498.5 MB, free: 7.953 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001496/0.3412, allocations: 0.9247 MB / 499.4 MB, free: 7.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3413, allocations: 9.625 kB / 499.4 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.3416, allocations: 98.95 kB / 499.5 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007668/0.3423, allocations: 0.5193 MB / 0.4883 GB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.3424, allocations: 24 kB / 0.4884 GB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.444e-05/0.3425, allocations: 43.91 kB / 0.4884 GB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008206/0.3433, allocations: 497.2 kB / 0.4889 GB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009756/0.3443, allocations: 0.6359 MB / 0.4895 GB, free: 5.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.3443, allocations: 7.984 kB / 0.4895 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.3444, allocations: 0 / 0.4895 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.3444, allocations: 16 kB / 0.4895 GB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/0.348, allocations: 2.599 MB / 0.4921 GB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/0.3486, allocations: 477.9 kB / 0.4925 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/0.3492, allocations: 363.6 kB / 0.4929 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.3492, allocations: 8.438 kB / 0.4929 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004432/0.3497, allocations: 312.4 kB / 0.4932 GB, free: 2.625 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.063e-06/0.3497, allocations: 4.469 kB / 0.4932 GB, free: 2.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.001055/0.3507, allocations: 0.5378 MB / 0.4937 GB, free: 2.215 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.3508, allocations: 141 kB / 0.4938 GB, free: 2.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.3512, allocations: 380.9 kB / 0.4942 GB, free: 1.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.3513, allocations: 33.69 kB / 0.4942 GB, free: 1.719 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3515, allocations: 273.4 kB / 0.4945 GB, free: 1.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3516, allocations: 176.1 kB / 0.4947 GB, free: 1.324 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.3516, allocations: 1.594 kB / 0.4947 GB, free: 1.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.3518, allocations: 366.8 kB / 0.495 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.3521, allocations: 185.5 kB / 0.4952 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.3525, allocations: 351.3 kB / 0.4955 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.3528, allocations: 206.4 kB / 0.4957 GB, free: 448 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3528, allocations: 8 kB / 0.4957 GB, free: 440 kB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001008/0.3539, allocations: 0.637 MB / 0.4963 GB, free: 15.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004986/0.3544, allocations: 1.567 MB / 0.4979 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3544, allocations: 4 kB / 0.4979 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/0.3549, allocations: 160.8 kB / 0.498 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.3553, allocations: 106.9 kB / 0.4981 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.3582, allocations: 3.287 MB / 0.5013 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.3587, allocations: 82.09 kB / 0.5014 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.3587, allocations: 27.55 kB / 0.5014 GB, free: 10.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.35e-06/0.3587, allocations: 4 kB / 0.5015 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008888/0.3596, allocations: 0.5429 MB / 0.502 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3596, allocations: 4.5 kB / 0.502 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004028/0.36, allocations: 167.1 kB / 0.5021 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.3604, allocations: 91.14 kB / 0.5022 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.3633, allocations: 3.301 MB / 0.5055 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.3637, allocations: 64.94 kB / 0.5055 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.3637, allocations: 24 kB / 0.5055 GB, free: 6.793 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 (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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.3639, allocations: 132.9 kB / 0.5057 GB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/0.364, allocations: 63.33 kB / 0.5057 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.3641, allocations: 61.42 kB / 0.5058 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3641, allocations: 4 kB / 0.5058 GB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3641, allocations: 3.906 kB / 0.5058 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3641, allocations: 11.92 kB / 0.5058 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.366, allocations: 1.279 MB / 0.5071 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.366, allocations: 4.062 kB / 0.5071 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.3663, allocations: 59.89 kB / 0.5071 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003945/0.3667, allocations: 156.1 kB / 0.5073 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.3667, allocations: 4 kB / 0.5073 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/0.3696, allocations: 3.263 MB / 0.5105 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3696, allocations: 4.062 kB / 0.5105 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001268/0.3709, allocations: 0.9003 MB / 0.5113 GB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.3711, allocations: 188.2 kB / 0.5115 GB, free: 348 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-05/0.3712, allocations: 4 kB / 0.5115 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.3716, allocations: 40.05 kB / 0.5116 GB, free: 304 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3717, allocations: 44.38 kB / 0.5116 GB, free: 260 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.3718, allocations: 19.98 kB / 0.5116 GB, free: 240 kB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003295/0.3721, allocations: 291.2 kB / 0.5119 GB, free: 15.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001069/0.3732, allocations: 312.7 kB / 0.5122 GB, free: 15.64 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_n1.off,rectifier.thyristor_n2.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off) * 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 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000218/0.3734, allocations: 129.7 kB / 0.5123 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.3751, allocations: 1.265 MB / 0.5136 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3751, allocations: 0.75 kB / 0.5136 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000587/0.3757, allocations: 485.2 kB / 0.514 GB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.3762, allocations: 85.67 kB / 0.5141 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.3784, allocations: 1.003 MB / 0.5151 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006235/0.379, allocations: 0.9945 MB / 0.5161 GB, free: 11.59 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.379, allocations: 0 / 0.5161 GB, free: 11.59 MB / 394.7 MB Notification: Performance of Templates: time 0.01951/0.3986, allocations: 11.88 MB / 0.5277 GB, free: 15.92 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches