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_RLV.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_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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 4.0.0+maint.om/package.mo): time 0.000943/0.0009431, allocations: 189.1 kB / 8.137 MB, free: 2.215 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.152/1.152, allocations: 221.4 MB / 229.9 MB, free: 3.051 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.0008966/0.0008965, allocations: 95.97 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.775e-06/7.795e-06, allocations: 4 kB / 336.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1869, allocations: 50.4 MB / 386.9 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09247/0.2794, allocations: 88.25 MB / 475.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.2796, allocations: 88.78 kB / 475.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.03577/0.3154, allocations: 13.7 MB / 489 MB, free: 0.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.339e-05/0.3155, allocations: 12 kB / 489 MB, free: 0.7812 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.00141/0.3169, allocations: 0.8734 MB / 489.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.317, allocations: 8.031 kB / 489.9 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.3171, allocations: 90.95 kB / 490 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007229/0.3178, allocations: 497.9 kB / 490.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.3179, allocations: 28 kB / 490.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.937e-05/0.318, allocations: 39.91 kB / 490.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008022/0.3188, allocations: 438.5 kB / 490.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009343/0.3197, allocations: 0.5738 MB / 491.5 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.3198, allocations: 0 / 491.5 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.3198, allocations: 7.984 kB / 491.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.3198, allocations: 12 kB / 491.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003373/0.3232, allocations: 2.28 MB / 493.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.3238, allocations: 389.3 kB / 494.2 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/0.3242, allocations: 244.8 kB / 494.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3243, allocations: 8 kB / 494.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.3247, allocations: 291.8 kB / 494.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 1.723e-06/0.3247, allocations: 0 / 494.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.000716/0.3254, allocations: 403.4 kB / 495.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.3255, allocations: 170.6 kB / 495.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.3259, allocations: 365 kB / 495.6 MB, free: 9.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.326, allocations: 33.73 kB / 495.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.3262, allocations: 272 kB / 495.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.3263, allocations: 142 kB / 496.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.3263, allocations: 0 / 496.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3265, allocations: 358.8 kB / 496.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.3268, allocations: 161.2 kB / 496.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.3271, allocations: 317 kB / 496.9 MB, free: 8.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.3274, allocations: 180.6 kB / 497.1 MB, free: 8.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3274, allocations: 0 / 497.1 MB, free: 8.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007953/0.3282, allocations: 0.523 MB / 497.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005586/0.3288, allocations: 1.653 MB / 499.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3288, allocations: 8 kB / 499.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/0.3291, allocations: 80.81 kB / 499.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.3295, allocations: 103.8 kB / 499.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.3309, allocations: 1.549 MB / 0.4892 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.3314, allocations: 87.53 kB / 0.4893 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.3314, allocations: 24 kB / 0.4893 GB, free: 4.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.3315, allocations: 6.969 kB / 0.4893 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006884/0.3322, allocations: 442 kB / 0.4898 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3322, allocations: 4 kB / 0.4898 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/0.3324, allocations: 72.83 kB / 0.4898 GB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.3327, allocations: 96.36 kB / 0.4899 GB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.3341, allocations: 1.553 MB / 0.4915 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.3345, allocations: 63.72 kB / 0.4915 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.3346, allocations: 20 kB / 0.4915 GB, free: 1.66 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 (64): * Single equations (assignments): 63 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002231/0.3348, allocations: 139.9 kB / 0.4917 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/0.3349, allocations: 47.44 kB / 0.4917 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.335, allocations: 65 kB / 0.4918 GB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3351, allocations: 4 kB / 0.4918 GB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3351, allocations: 7.844 kB / 0.4918 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.3351, allocations: 3.984 kB / 0.4918 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.3368, allocations: 1.186 MB / 0.4929 GB, free: 156 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3368, allocations: 0 / 0.4929 GB, free: 156 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.3371, allocations: 55.91 kB / 0.493 GB, free: 100 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/0.3373, allocations: 76.84 kB / 0.4931 GB, free: 20 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.3374, allocations: 3.984 kB / 0.4931 GB, free: 16 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1015/0.4388, allocations: 1.524 MB / 0.4946 GB, free: 132.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4389, allocations: 0 / 0.4946 GB, free: 132.6 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008936/0.4398, allocations: 0.7457 MB / 0.4953 GB, free: 132.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.44, allocations: 177.5 kB / 0.4955 GB, free: 132.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/0.4401, allocations: 7.25 kB / 0.4955 GB, free: 132.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.4404, allocations: 49.67 kB / 0.4955 GB, free: 132.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.4405, allocations: 30.16 kB / 0.4955 GB, free: 132.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.4406, allocations: 18.47 kB / 0.4956 GB, free: 132.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002509/0.4408, allocations: 272.9 kB / 0.4958 GB, free: 132.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007183/0.4415, allocations: 277.5 kB / 0.4961 GB, free: 132.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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 (42): * 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: 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001555/0.4417, allocations: 128.1 kB / 0.4962 GB, free: 132.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.4428, allocations: 0.8763 MB / 0.4971 GB, free: 132 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4428, allocations: 0.9375 kB / 0.4971 GB, free: 132 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.4432, allocations: 321.8 kB / 0.4974 GB, free: 131.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.4436, allocations: 66.67 kB / 0.4974 GB, free: 131.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.4451, allocations: 0.888 MB / 0.4983 GB, free: 131.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.4455, allocations: 0.9819 MB / 0.4993 GB, free: 130.9 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.4455, allocations: 0 / 0.4993 GB, free: 130.9 MB / 378.7 MB Notification: Performance of Templates: time 0.0135/0.459, allocations: 8.99 MB / 0.508 GB, free: 130.7 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV/ThyristorCenterTap2Pulse_RLV.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches