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") [: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.001579/0.001579, allocations: 199.2 kB / 8.541 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 94.55 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.324e-06/7.404e-06, allocations: 4 kB / 343.2 MB, free: 8.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09155, allocations: 51.47 MB / 394.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.3295, allocations: 89.56 MB / 484.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.3298, allocations: 84.62 kB / 484.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03612/0.3659, allocations: 14.79 MB / 499.1 MB, free: 7.445 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.978e-05/0.366, allocations: 16 kB / 499.1 MB, free: 7.43 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.00147/0.3675, allocations: 0.9332 MB / 0.4883 GB, free: 6.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.3675, allocations: 12.03 kB / 0.4883 GB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.3678, allocations: 102.9 kB / 0.4884 GB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.3686, allocations: 0.5179 MB / 0.4889 GB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.3686, allocations: 24 kB / 0.4889 GB, free: 5.895 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/0.3687, allocations: 42.16 kB / 0.489 GB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008366/0.3696, allocations: 0.5071 MB / 0.4895 GB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009887/0.3706, allocations: 0.6511 MB / 0.4901 GB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.3706, allocations: 0 / 0.4901 GB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.709e-05/0.3707, allocations: 4 kB / 0.4901 GB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.3707, allocations: 16 kB / 0.4901 GB, free: 5.023 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/0.3743, allocations: 2.645 MB / 0.4927 GB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.3749, allocations: 488.5 kB / 0.4932 GB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/0.3756, allocations: 403.6 kB / 0.4936 GB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.3756, allocations: 9.188 kB / 0.4936 GB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004975/0.3762, allocations: 318.7 kB / 0.4939 GB, free: 1.992 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 2.444e-06/0.3762, allocations: 0 / 0.4939 GB, free: 1.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.001073/0.3772, allocations: 0.5442 MB / 0.4944 GB, free: 1.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.3773, allocations: 144.1 kB / 0.4945 GB, free: 1.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.3778, allocations: 375 kB / 0.4949 GB, free: 1.121 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.3778, allocations: 35.75 kB / 0.4949 GB, free: 1.082 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.378, allocations: 282.9 kB / 0.4952 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.3782, allocations: 176.6 kB / 0.4954 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.3782, allocations: 4 kB / 0.4954 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3784, allocations: 364.2 kB / 0.4957 GB, free: 340 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.3787, allocations: 194.5 kB / 0.4959 GB, free: 232 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/0.3791, allocations: 355.5 kB / 0.4962 GB, free: 15.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.3795, allocations: 208.4 kB / 0.4964 GB, free: 15.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3795, allocations: 4 kB / 0.4964 GB, free: 15.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001066/0.3805, allocations: 0.6448 MB / 0.4971 GB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007048/0.3813, allocations: 1.568 MB / 0.4986 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3813, allocations: 4 kB / 0.4986 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005066/0.3818, allocations: 156.6 kB / 0.4988 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.3822, allocations: 110 kB / 0.4989 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003257/0.3855, allocations: 3.296 MB / 0.5021 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.3861, allocations: 79.47 kB / 0.5022 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/0.3861, allocations: 29.17 kB / 0.5022 GB, free: 10.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.3861, allocations: 5.719 kB / 0.5022 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009597/0.3871, allocations: 0.5552 MB / 0.5027 GB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3871, allocations: 4 kB / 0.5027 GB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000433/0.3876, allocations: 164.7 kB / 0.5029 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.3879, allocations: 94.95 kB / 0.503 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.3911, allocations: 3.304 MB / 0.5062 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.3917, allocations: 66.28 kB / 0.5063 GB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.3917, allocations: 20.86 kB / 0.5063 GB, free: 5.992 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.00023/0.392, allocations: 144.7 kB / 0.5064 GB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3921, allocations: 55.34 kB / 0.5065 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.3922, allocations: 57.42 kB / 0.5065 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3923, allocations: 4.062 kB / 0.5066 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3923, allocations: 15.89 kB / 0.5066 GB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3923, allocations: 4 kB / 0.5066 GB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.3943, allocations: 1.314 MB / 0.5079 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3943, allocations: 0 / 0.5079 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.3946, allocations: 59.89 kB / 0.5079 GB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/0.395, allocations: 141.7 kB / 0.508 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.3951, allocations: 7.984 kB / 0.5081 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.3982, allocations: 3.263 MB / 0.5112 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3983, allocations: 4.062 kB / 0.5112 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001428/0.3997, allocations: 0.9238 MB / 0.5121 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.4, allocations: 188.2 kB / 0.5123 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.4001, allocations: 4 kB / 0.5123 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.4005, allocations: 35.97 kB / 0.5124 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.4007, allocations: 52.42 kB / 0.5124 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.4007, allocations: 23.92 kB / 0.5124 GB, free: 15.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003793/0.4011, allocations: 287.2 kB / 0.5127 GB, free: 15.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001186/0.4023, allocations: 314.9 kB / 0.513 GB, free: 14.79 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 (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.0002127/0.4025, allocations: 137.8 kB / 0.5131 GB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.4046, allocations: 1.279 MB / 0.5144 GB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4047, allocations: 4.062 kB / 0.5144 GB, free: 13.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006722/0.4053, allocations: 485.2 kB / 0.5149 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.4059, allocations: 79.05 kB / 0.5149 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.4084, allocations: 1.023 MB / 0.5159 GB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000703/0.4091, allocations: 1.013 MB / 0.5169 GB, free: 10.67 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4091, allocations: 3.938 kB / 0.5169 GB, free: 10.66 MB / 394.7 MB Notification: Performance of Templates: time 0.02071/0.4299, allocations: 11.99 MB / 0.5286 GB, free: 14.9 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