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_RLV.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_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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001992/0.001991, allocations: 177.3 kB / 17.41 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.26/3.26, 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.001777/0.001777, allocations: 88.75 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006985/0.0006988, allocations: 12 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.593/0.5937, allocations: 47.56 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.8174, allocations: 87.83 MB / 463.6 MB, free: 8.793 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006092/0.8182, allocations: 87.95 kB / 463.7 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06238/0.8806, allocations: 13.26 MB / 476.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.931e-06/0.8807, allocations: 0 / 476.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001622/0.8809, allocations: 12 kB / 476.9 MB, free: 11.37 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004927/0.8858, allocations: 0.9199 MB / 477.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.005e-05/0.8859, allocations: 11.97 kB / 477.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000759/0.8867, allocations: 87.98 kB / 477.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.8889, allocations: 494.9 kB / 478.4 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.8891, allocations: 53.67 kB / 478.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003785/0.8895, allocations: 60.38 kB / 478.5 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.8922, allocations: 0.658 MB / 479.2 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.8923, allocations: 4.125 kB / 479.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.8924, allocations: 35.92 kB / 479.2 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.8924, allocations: 16 kB / 479.3 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.8941, allocations: 0.4892 MB / 479.7 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006747/0.9008, allocations: 2.352 MB / 482.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.9025, allocations: 478.8 kB / 482.6 MB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008312/0.9034, allocations: 262.5 kB / 482.8 MB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.094e-05/0.9035, allocations: 4 kB / 482.8 MB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009521/0.9044, allocations: 324.2 kB / 483.1 MB, free: 4.879 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 7.274e-06/0.9044, allocations: 0 / 483.1 MB, free: 4.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.00306/0.9075, allocations: 0.7514 MB / 483.9 MB, free: 4.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000246/0.9078, allocations: 137 kB / 484 MB, free: 3.938 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.9091, allocations: 0.49 MB / 484.5 MB, free: 3.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.9092, allocations: 45.7 kB / 484.6 MB, free: 3.387 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/0.9098, allocations: 316.3 kB / 484.9 MB, free: 3.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.91, allocations: 142.1 kB / 485 MB, free: 2.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.9101, allocations: 12 kB / 485 MB, free: 2.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002852/0.9104, allocations: 362.7 kB / 485.4 MB, free: 2.555 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006362/0.9111, allocations: 185 kB / 485.6 MB, free: 2.371 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008853/0.912, allocations: 343.9 kB / 485.9 MB, free: 1.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.9134, allocations: 472.3 kB / 486.4 MB, free: 1.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.9134, allocations: 0 / 486.4 MB, free: 1.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002193/0.9156, allocations: 0.6092 MB / 487 MB, free: 0.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004318/0.9161, allocations: 222.6 kB / 487.2 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.9161, allocations: 4 kB / 487.2 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005824/0.9167, allocations: 84.75 kB / 487.3 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.9173, allocations: 87.83 kB / 487.3 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/0.9208, allocations: 1.737 MB / 489.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/0.9218, allocations: 91.55 kB / 489.2 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/0.9219, allocations: 24 kB / 489.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.9219, allocations: 7.938 kB / 489.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001831/0.9237, allocations: 0.507 MB / 489.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.9238, allocations: 8.094 kB / 489.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004443/0.9242, allocations: 80.8 kB / 489.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.9248, allocations: 91.83 kB / 489.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/0.9286, allocations: 1.734 MB / 491.6 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.9299, allocations: 83.5 kB / 491.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.9301, allocations: 24 kB / 491.7 MB, free: 11.72 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 (62): * Single equations (assignments): 61 * 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.001762/0.9319, allocations: 303.9 kB / 492 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/0.9323, allocations: 55.34 kB / 492.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.9327, allocations: 61.19 kB / 492.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.9327, allocations: 8 kB / 492.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/0.9328, allocations: 7.938 kB / 492.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.9328, allocations: 0 / 492.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005618/0.9384, allocations: 1.281 MB / 493.4 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.9385, allocations: 0 / 493.4 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.939, allocations: 47.91 kB / 493.5 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004721/0.9395, allocations: 80.8 kB / 493.6 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-05/0.9396, allocations: 11.98 kB / 493.6 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003547/0.9431, allocations: 1.652 MB / 495.2 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.447e-05/0.9432, allocations: 16.06 kB / 495.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.946, allocations: 0.7792 MB / 496 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006915/0.9467, allocations: 172.4 kB / 496.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.947, allocations: 12 kB / 496.2 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/0.9478, allocations: 47.89 kB / 496.2 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004116/0.9483, allocations: 51.92 kB / 496.3 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.841e-05/0.9484, allocations: 16 kB / 496.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001195/0.9496, allocations: 342.9 kB / 496.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9496, allocations: 3.938 kB / 496.7 MB, free: 6.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002572/0.9522, allocations: 287.1 kB / 496.9 MB, free: 6.27 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 (40): * Single equations (assignments): 34 * 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.000488/0.9527, allocations: 133.4 kB / 497.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.9558, allocations: 0.9755 MB / 498 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.9558, allocations: 0 / 498 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009874/0.9568, allocations: 366.7 kB / 498.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.9582, allocations: 101.4 kB / 498.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/0.9631, allocations: 1.437 MB / 499.9 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.9645, allocations: 0.9067 MB / 0.4891 GB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.9649, allocations: 55.3 kB / 0.4892 GB, free: 2.207 MB / 378.7 MB Notification: Performance of SimCode: time 2.716e-06/0.9649, allocations: 0 / 0.4892 GB, free: 2.207 MB / 378.7 MB Notification: Performance of Templates: time 0.4541/1.419, allocations: 10.11 MB / 0.499 GB, free: 104.9 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_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_RLV/ThyristorCenterTap2Pulse_RLV.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches