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.001686/0.001686, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.3 MB / 214.4 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008525/0.0008525, allocations: 78.72 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.467e-05/1.471e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.08899, allocations: 47.58 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.294/0.383, allocations: 86.66 MB / 449.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.3833, allocations: 82.08 kB / 449.8 MB, free: 8.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03222/0.4156, allocations: 12.53 MB / 462.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4156, allocations: 0 / 462.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.252e-05/0.4157, allocations: 16 kB / 462.4 MB, free: 14.54 MB / 346.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.001409/0.4171, allocations: 0.812 MB / 463.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4171, allocations: 8.031 kB / 463.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.4173, allocations: 79.06 kB / 463.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007465/0.418, allocations: 476.9 kB / 463.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.4181, allocations: 24 kB / 463.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.729e-05/0.4182, allocations: 36 kB / 463.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007126/0.4189, allocations: 388.8 kB / 464.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000907/0.4198, allocations: 0.5048 MB / 464.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.4199, allocations: 3.938 kB / 464.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.4199, allocations: 0 / 464.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.4199, allocations: 16 kB / 464.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/0.423, allocations: 2.099 MB / 466.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.4237, allocations: 424.8 kB / 467.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/0.4241, allocations: 220.9 kB / 467.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.4242, allocations: 4.328 kB / 467.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/0.4246, allocations: 277.9 kB / 467.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 1.733e-06/0.4246, allocations: 0 / 467.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006483/0.4253, allocations: 386.2 kB / 468.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.4254, allocations: 140 kB / 468.2 MB, free: 9.609 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.4257, allocations: 356.7 kB / 468.6 MB, free: 9.332 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.4258, allocations: 33.69 kB / 468.6 MB, free: 9.293 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.426, allocations: 298.3 kB / 468.9 MB, free: 9.074 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.4261, allocations: 135.5 kB / 469 MB, free: 8.957 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.4261, allocations: 0 / 469 MB, free: 8.957 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4263, allocations: 359.1 kB / 469.4 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.4265, allocations: 135.5 kB / 469.5 MB, free: 8.539 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.4268, allocations: 291.4 kB / 469.8 MB, free: 8.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.427, allocations: 149.8 kB / 469.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.427, allocations: 0 / 469.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007143/0.4278, allocations: 493.3 kB / 470.4 MB, free: 7.785 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006401/0.4284, allocations: 1.661 MB / 472.1 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.4284, allocations: 4 kB / 472.1 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.4288, allocations: 96.47 kB / 472.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.4291, allocations: 87.39 kB / 472.3 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.4309, allocations: 1.792 MB / 474.1 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.4313, allocations: 75.5 kB / 474.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.4313, allocations: 27.06 kB / 474.2 MB, free: 4.094 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.4314, allocations: 4 kB / 474.2 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006297/0.432, allocations: 397.2 kB / 474.5 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.432, allocations: 4 kB / 474.6 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/0.4322, allocations: 94.06 kB / 474.6 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.4325, allocations: 78.95 kB / 474.7 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.4342, allocations: 1.794 MB / 476.5 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.4345, allocations: 59.7 kB / 476.6 MB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.4346, allocations: 19.81 kB / 476.6 MB, free: 1.914 MB / 346.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 () * 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.0001675/0.4347, allocations: 139.3 kB / 476.7 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.4348, allocations: 51.12 kB / 476.8 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.4349, allocations: 53.7 kB / 476.8 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4349, allocations: 4 kB / 476.8 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.435, allocations: 0 / 476.8 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.435, allocations: 0 / 476.8 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.4365, allocations: 1.107 MB / 477.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4365, allocations: 0 / 477.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.4367, allocations: 39.42 kB / 478 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.4369, allocations: 81.56 kB / 478.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.437, allocations: 7.109 kB / 478.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.4386, allocations: 1.695 MB / 479.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4386, allocations: 8.469 kB / 479.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/0.4395, allocations: 0.6757 MB / 480.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.4397, allocations: 165.5 kB / 480.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.4398, allocations: 4 kB / 480.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.4401, allocations: 47.45 kB / 480.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.4403, allocations: 47.11 kB / 480.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.4403, allocations: 11.53 kB / 480.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002801/0.4406, allocations: 268.2 kB / 481 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4406, allocations: 0 / 481 MB, free: 14.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009133/0.4415, allocations: 255.1 kB / 481.2 MB, free: 13.88 MB / 362.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) * 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.0001904/0.4417, allocations: 129.2 kB / 481.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.443, allocations: 0.8616 MB / 482.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.443, allocations: 0 / 482.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004209/0.4434, allocations: 328.3 kB / 482.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.4439, allocations: 58.69 kB / 482.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.4452, allocations: 0.7341 MB / 483.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.4458, allocations: 0.9168 MB / 484.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003717/0.4462, allocations: 100.4 kB / 484.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.4462, allocations: 38.8 kB / 484.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4462, allocations: 3.938 kB / 484.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of Templates: time 0.01253/0.4588, allocations: 7.115 MB / 491.5 MB, free: 3.926 MB / 362.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/jenkins/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