Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.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_RL,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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001458, allocations: 181.4 kB / 17.41 MB, free: 4.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.915/2.915, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001047/0.001048, allocations: 81.44 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006278/0.0006282, allocations: 11.98 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6525/0.6532, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2178/0.8711, allocations: 87.59 MB / 463.3 MB, free: 9.031 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005484/0.8717, allocations: 87.94 kB / 463.4 MB, free: 8.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06845/0.9402, allocations: 12.98 MB / 476.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.9403, allocations: 0 / 476.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000145/0.9405, allocations: 16 kB / 476.4 MB, free: 11.89 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.004571/0.9451, allocations: 0.8995 MB / 477.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001012/0.9452, allocations: 12.02 kB / 477.3 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005406/0.9458, allocations: 80 kB / 477.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.9476, allocations: 491 kB / 477.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.9477, allocations: 45.69 kB / 477.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.948, allocations: 68.36 kB / 478 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.9505, allocations: 0.6384 MB / 478.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.631e-05/0.9506, allocations: 16.16 kB / 478.6 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.9507, allocations: 31.88 kB / 478.7 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.9507, allocations: 16 kB / 478.7 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.9525, allocations: 488.9 kB / 479.2 MB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007878/0.9604, allocations: 2.291 MB / 481.5 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.9623, allocations: 480.3 kB / 481.9 MB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.9634, allocations: 264.6 kB / 482.2 MB, free: 5.859 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.543e-05/0.9635, allocations: 4 kB / 482.2 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.9647, allocations: 324.7 kB / 482.5 MB, free: 5.516 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 6.782e-06/0.9648, allocations: 0 / 482.5 MB, free: 5.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.003359/0.9681, allocations: 0.7338 MB / 483.2 MB, free: 4.754 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/0.9684, allocations: 144.5 kB / 483.4 MB, free: 4.582 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.9701, allocations: 477.7 kB / 483.8 MB, free: 4.105 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.9703, allocations: 41.7 kB / 483.9 MB, free: 4.059 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/0.9709, allocations: 312.5 kB / 484.2 MB, free: 3.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.9712, allocations: 138.1 kB / 484.3 MB, free: 3.613 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.9713, allocations: 12 kB / 484.3 MB, free: 3.602 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003098/0.9716, allocations: 362.8 kB / 484.7 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006911/0.9723, allocations: 177 kB / 484.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.9734, allocations: 347.4 kB / 485.2 MB, free: 2.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.9751, allocations: 460.1 kB / 485.7 MB, free: 2.152 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.9752, allocations: 0 / 485.7 MB, free: 2.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002737/0.9779, allocations: 0.606 MB / 486.3 MB, free: 1.535 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005745/0.9785, allocations: 220.9 kB / 486.5 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.9786, allocations: 4 kB / 486.5 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007607/0.9793, allocations: 76.81 kB / 486.6 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.9799, allocations: 91.83 kB / 486.6 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/0.9839, allocations: 1.737 MB / 488.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.985, allocations: 91.61 kB / 488.5 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/0.9851, allocations: 20 kB / 488.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.9851, allocations: 4 kB / 488.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001624/0.9868, allocations: 0.5004 MB / 489 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.9868, allocations: 8 kB / 489 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/0.9872, allocations: 80.81 kB / 489.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.9877, allocations: 87.83 kB / 489.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.9908, allocations: 1.741 MB / 490.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.9916, allocations: 71.62 kB / 491 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.9916, allocations: 24.25 kB / 491 MB, free: 12.46 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 (61): * Single equations (assignments): 60 * 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.0008976/0.9925, allocations: 312.5 kB / 491.3 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.9927, allocations: 47.48 kB / 491.4 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.993, allocations: 69.08 kB / 491.4 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.993, allocations: 12 kB / 491.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.9931, allocations: 4 kB / 491.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.9931, allocations: 0 / 491.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/0.9983, allocations: 1.268 MB / 492.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.9983, allocations: 3.984 kB / 492.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.9988, allocations: 51.86 kB / 492.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/0.9993, allocations: 76.8 kB / 492.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/0.9994, allocations: 11.98 kB / 492.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003079/1.003, allocations: 1.644 MB / 494.5 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/1.003, allocations: 12.08 kB / 494.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/1.006, allocations: 0.779 MB / 495.3 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.007, allocations: 176.3 kB / 495.4 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/1.008, allocations: 15.88 kB / 495.5 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009988/1.009, allocations: 47.95 kB / 495.5 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004175/1.009, allocations: 51.92 kB / 495.6 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.326e-05/1.009, allocations: 12 kB / 495.6 MB, free: 7.633 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009778/1.01, allocations: 331.1 kB / 495.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.01, allocations: 0 / 495.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002315/1.013, allocations: 279.2 kB / 496.2 MB, free: 7.035 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,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 (39): * Single equations (assignments): 33 * 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.0004589/1.013, allocations: 133.3 kB / 496.3 MB, free: 6.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003406/1.016, allocations: 0.9684 MB / 497.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.917e-05/1.016, allocations: 4 kB / 497.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/1.018, allocations: 370.1 kB / 497.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/1.019, allocations: 93.11 kB / 497.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/1.024, allocations: 1.417 MB / 499.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/1.025, allocations: 0.9028 MB / 0.4883 GB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/1.026, allocations: 39.44 kB / 0.4884 GB, free: 3.023 MB / 378.7 MB Notification: Performance of SimCode: time 6.392e-06/1.026, allocations: 0 / 0.4884 GB, free: 3.023 MB / 378.7 MB Notification: Performance of Templates: time 0.4679/1.494, allocations: 9.896 MB / 0.498 GB, free: 104.5 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_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_RL/ThyristorCenterTap2Pulse_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches