Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 183.2 kB / 18.04 MB, free: 3.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007441/0.0007443, allocations: 87.92 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.000298, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2132, allocations: 47.56 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09483/0.3081, allocations: 87.29 MB / 464.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.3084, allocations: 91.94 kB / 464.4 MB, free: 9.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03399/0.3424, allocations: 12.66 MB / 477.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3424, allocations: 0 / 477.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.327e-05/0.3425, allocations: 12 kB / 477.1 MB, free: 12.41 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001668/0.3441, allocations: 0.8791 MB / 478 MB, free: 11.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3442, allocations: 12.03 kB / 478 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.3444, allocations: 72.09 kB / 478.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007413/0.3451, allocations: 483 kB / 478.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.3452, allocations: 53.61 kB / 478.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.569e-05/0.3453, allocations: 56.38 kB / 478.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.3464, allocations: 0.6267 MB / 479.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.3464, allocations: 192 / 479.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.3465, allocations: 27.94 kB / 479.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.3465, allocations: 16 kB / 479.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009395/0.3475, allocations: 480.9 kB / 479.8 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.3508, allocations: 2.218 MB / 482 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009065/0.3518, allocations: 466.8 kB / 482.4 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.3523, allocations: 249.7 kB / 482.7 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.3523, allocations: 8.312 kB / 482.7 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/0.3528, allocations: 309.9 kB / 483 MB, free: 6.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 4.178e-06/0.3529, allocations: 0 / 483 MB, free: 6.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001786/0.3547, allocations: 0.7614 MB / 483.8 MB, free: 5.445 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.3547, allocations: 144.5 kB / 483.9 MB, free: 5.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.3553, allocations: 473.7 kB / 484.4 MB, free: 4.801 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.3554, allocations: 41.73 kB / 484.4 MB, free: 4.754 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.3556, allocations: 308.4 kB / 484.7 MB, free: 4.449 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.744e-05/0.3557, allocations: 126.2 kB / 484.8 MB, free: 4.324 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.3557, allocations: 12 kB / 484.8 MB, free: 4.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3559, allocations: 354.9 kB / 485.2 MB, free: 3.957 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.3562, allocations: 177 kB / 485.4 MB, free: 3.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.3567, allocations: 335.5 kB / 485.7 MB, free: 3.391 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006854/0.3574, allocations: 460.2 kB / 486.1 MB, free: 2.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3574, allocations: 0 / 486.1 MB, free: 2.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001024/0.3584, allocations: 0.5915 MB / 486.7 MB, free: 2.281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.3586, allocations: 216.4 kB / 486.9 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.3586, allocations: 7.984 kB / 486.9 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003168/0.3589, allocations: 100.8 kB / 487 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.3592, allocations: 79.83 kB / 487.1 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.361, allocations: 1.854 MB / 489 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.3615, allocations: 91.61 kB / 489.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.3615, allocations: 20 kB / 489.1 MB, free: 15.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.3615, allocations: 7.984 kB / 489.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008866/0.3624, allocations: 0.4891 MB / 489.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3624, allocations: 4 kB / 489.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.3627, allocations: 88.75 kB / 489.7 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.3629, allocations: 76.06 kB / 489.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.3647, allocations: 1.847 MB / 491.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.3651, allocations: 67.56 kB / 491.7 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.3651, allocations: 28 kB / 491.7 MB, free: 12.98 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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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.0003833/0.3655, allocations: 312.9 kB / 492 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.764e-05/0.3656, allocations: 47.44 kB / 492 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.3657, allocations: 57.03 kB / 492.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.3657, allocations: 4.375 kB / 492.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3658, allocations: 0 / 492.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3658, allocations: 0 / 492.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.3675, allocations: 1.252 MB / 493.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.3675, allocations: 11.97 kB / 493.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.3677, allocations: 47.91 kB / 493.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/0.368, allocations: 80.81 kB / 493.5 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.368, allocations: 11.98 kB / 493.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.3697, allocations: 1.757 MB / 495.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3697, allocations: 0 / 495.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.3709, allocations: 0.7602 MB / 496 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.3712, allocations: 176.5 kB / 496.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.192e-05/0.3712, allocations: 11.98 kB / 496.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.3716, allocations: 39.97 kB / 496.2 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.3717, allocations: 51.92 kB / 496.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.3717, allocations: 19.98 kB / 496.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000451/0.3722, allocations: 323.1 kB / 496.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3722, allocations: 0 / 496.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009549/0.3732, allocations: 271.2 kB / 496.9 MB, free: 7.523 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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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.0001826/0.3734, allocations: 137.3 kB / 497 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.3751, allocations: 0.9847 MB / 498 MB, free: 6.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3751, allocations: 8.531 kB / 498 MB, free: 6.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.3756, allocations: 359.1 kB / 498.4 MB, free: 6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.3762, allocations: 93.23 kB / 498.5 MB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.3782, allocations: 1.263 MB / 499.7 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.3787, allocations: 0.9059 MB / 0.4889 GB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003346/0.379, allocations: 92.53 kB / 0.489 GB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.3791, allocations: 35.44 kB / 0.489 GB, free: 3.559 MB / 378.7 MB Notification: Performance of SimCode: time 1.293e-06/0.3791, allocations: 0 / 0.489 GB, free: 3.559 MB / 378.7 MB Notification: Performance of Templates: time 0.155/0.5341, allocations: 7.468 MB / 0.4963 GB, free: 105.3 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches