Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 184.2 kB / 8.133 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 221.4 MB / 229.9 MB, free: 3.062 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009326/0.0009325, allocations: 88.77 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.901e-06, allocations: 0 / 336.5 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2358, allocations: 50.39 MB / 386.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08699/0.3229, allocations: 87.64 MB / 474.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.3231, allocations: 91.88 kB / 474.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.03399/0.3571, allocations: 13.05 MB / 487.7 MB, free: 2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.194e-05/0.3572, allocations: 15.94 kB / 487.7 MB, free: 1.984 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001487/0.3587, allocations: 0.8487 MB / 488.6 MB, free: 1.082 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3588, allocations: 12.03 kB / 488.6 MB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.3589, allocations: 82.97 kB / 488.7 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/0.3596, allocations: 478 kB / 489.1 MB, free: 492 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.3597, allocations: 20 kB / 489.1 MB, free: 472 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.63e-05/0.3597, allocations: 43.98 kB / 489.2 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007119/0.3605, allocations: 410.5 kB / 489.6 MB, free: 16 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008837/0.3613, allocations: 0.5503 MB / 490.1 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.3614, allocations: 0 / 490.1 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.3614, allocations: 4 kB / 490.1 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.3615, allocations: 15.91 kB / 490.2 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/0.3646, allocations: 2.179 MB / 492.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.3651, allocations: 358.1 kB / 492.7 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.3655, allocations: 241.5 kB / 492.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.3655, allocations: 4 kB / 492.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.3659, allocations: 280.9 kB / 493.2 MB, free: 12.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.435e-06/0.3659, allocations: 0 / 493.2 MB, free: 12.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007161/0.3667, allocations: 397.9 kB / 493.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.3667, allocations: 166.1 kB / 493.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.3672, allocations: 357 kB / 494.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.3672, allocations: 41.72 kB / 494.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.3674, allocations: 260.2 kB / 494.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.808e-05/0.3675, allocations: 126.2 kB / 494.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.3676, allocations: 0 / 494.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3677, allocations: 354.7 kB / 494.9 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.3679, allocations: 153.3 kB / 495 MB, free: 10.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.3683, allocations: 304.7 kB / 495.3 MB, free: 9.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.3685, allocations: 171.7 kB / 495.5 MB, free: 9.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.3685, allocations: 4 kB / 495.5 MB, free: 9.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007673/0.3693, allocations: 0.5094 MB / 496 MB, free: 9.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005042/0.3698, allocations: 1.651 MB / 497.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3698, allocations: 8 kB / 497.7 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003542/0.3702, allocations: 88.81 kB / 497.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.3705, allocations: 83.83 kB / 497.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.3722, allocations: 1.667 MB / 499.5 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.3726, allocations: 75.7 kB / 499.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.3727, allocations: 24 kB / 499.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.31e-06/0.3727, allocations: 4 kB / 499.6 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006832/0.3734, allocations: 432.5 kB / 0.4883 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3734, allocations: 8.062 kB / 0.4883 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/0.3736, allocations: 88.81 kB / 0.4884 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.3739, allocations: 83.83 kB / 0.4885 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.3755, allocations: 1.663 MB / 0.4901 GB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.3759, allocations: 63.72 kB / 0.4901 GB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.376, allocations: 20 kB / 0.4902 GB, free: 2.992 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (58): * Single equations (assignments): 57 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.3761, allocations: 139.9 kB / 0.4903 GB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.3762, allocations: 51.34 kB / 0.4904 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.3763, allocations: 52.66 kB / 0.4904 GB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3764, allocations: 4 kB / 0.4904 GB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3764, allocations: 0 / 0.4904 GB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3764, allocations: 3.984 kB / 0.4904 GB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.3781, allocations: 1.147 MB / 0.4915 GB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3781, allocations: 0 / 0.4915 GB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.3783, allocations: 43.91 kB / 0.4916 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.3786, allocations: 84.8 kB / 0.4917 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.3786, allocations: 4 kB / 0.4917 GB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1081/0.4868, allocations: 1.632 MB / 0.4932 GB, free: 132.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4868, allocations: 0 / 0.4932 GB, free: 132.2 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008648/0.4877, allocations: 0.731 MB / 0.494 GB, free: 132 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.4879, allocations: 170.5 kB / 0.4941 GB, free: 131.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.488, allocations: 3.906 kB / 0.4941 GB, free: 131.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.4883, allocations: 43.2 kB / 0.4942 GB, free: 131.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.4884, allocations: 37.03 kB / 0.4942 GB, free: 131.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.4885, allocations: 12.97 kB / 0.4942 GB, free: 131.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002369/0.4887, allocations: 272.1 kB / 0.4945 GB, free: 131.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007049/0.4894, allocations: 258.8 kB / 0.4947 GB, free: 131.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001513/0.4896, allocations: 132.4 kB / 0.4949 GB, free: 131.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.4907, allocations: 0.8709 MB / 0.4957 GB, free: 131.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4907, allocations: 0 / 0.4957 GB, free: 131.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.491, allocations: 317.6 kB / 0.496 GB, free: 131.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.4915, allocations: 71.22 kB / 0.4961 GB, free: 131.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.4929, allocations: 0.7855 MB / 0.4968 GB, free: 131.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/0.4933, allocations: 0.9597 MB / 0.4978 GB, free: 130.5 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4933, allocations: 0 / 0.4978 GB, free: 130.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01248/0.5058, allocations: 8.997 MB / 0.5066 GB, free: 130.3 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches