Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001543, allocations: 181.9 kB / 13.66 MB, free: 1.664 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.962/1.962, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.00153/0.00153, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/3.002e-05, allocations: 0 / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.0917, allocations: 47.58 MB / 369.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4102/0.502, allocations: 87.84 MB / 456.9 MB, free: 5.418 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.5024, allocations: 84.69 kB / 457 MB, free: 5.371 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05675/0.5592, allocations: 13.94 MB / 471 MB, free: 9.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5592, allocations: 0 / 471 MB, free: 9.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.591e-05/0.5593, allocations: 20 kB / 471 MB, free: 9.242 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002358/0.5617, allocations: 0.8839 MB / 471.9 MB, free: 8.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.5617, allocations: 8.031 kB / 471.9 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.562, allocations: 86.97 kB / 472 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.5632, allocations: 0.4979 MB / 472.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/0.5633, allocations: 49.31 kB / 472.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.5634, allocations: 71.98 kB / 472.6 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.5652, allocations: 0.6826 MB / 473.3 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.468e-05/0.5653, allocations: 7.938 kB / 473.3 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.5654, allocations: 27.98 kB / 473.3 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.5654, allocations: 19.94 kB / 473.3 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.5669, allocations: 0.4893 MB / 473.8 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005981/0.5729, allocations: 2.662 MB / 476.5 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.5746, allocations: 0.5838 MB / 477 MB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.5759, allocations: 382.5 kB / 477.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.431e-05/0.5759, allocations: 8.422 kB / 477.4 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008321/0.5768, allocations: 346.8 kB / 477.8 MB, free: 2.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 3.346e-06/0.5768, allocations: 0 / 477.8 MB, free: 2.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.001619/0.5784, allocations: 0.539 MB / 478.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/0.5785, allocations: 119.4 kB / 478.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008423/0.5794, allocations: 423.8 kB / 478.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.5795, allocations: 45.69 kB / 478.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.5799, allocations: 354.8 kB / 479.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.5801, allocations: 173.6 kB / 479.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.5802, allocations: 12 kB / 479.4 MB, free: 496 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5803, allocations: 342.8 kB / 479.7 MB, free: 144 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/0.5809, allocations: 185.6 kB / 479.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.5816, allocations: 353.5 kB / 480.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005682/0.5822, allocations: 203.2 kB / 480.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.5822, allocations: 8 kB / 480.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001796/0.584, allocations: 0.649 MB / 481.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006209/0.5846, allocations: 1.577 MB / 482.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.5847, allocations: 4 kB / 482.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008263/0.5855, allocations: 161.5 kB / 482.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/0.5862, allocations: 91.83 kB / 483 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005173/0.5914, allocations: 3.608 MB / 486.6 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009434/0.5924, allocations: 91.48 kB / 486.6 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.5925, allocations: 20 kB / 486.7 MB, free: 8.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5925, allocations: 4 kB / 486.7 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00169/0.5942, allocations: 0.6086 MB / 487.3 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5943, allocations: 8 kB / 487.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006598/0.5949, allocations: 157.6 kB / 487.4 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.5955, allocations: 87.83 kB / 487.5 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005117/0.6007, allocations: 3.58 MB / 491.1 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/0.6014, allocations: 67.66 kB / 491.2 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/0.6015, allocations: 27.95 kB / 491.2 MB, free: 3.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (65): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002954/0.6018, allocations: 164.8 kB / 491.4 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.602, allocations: 59.25 kB / 491.4 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.6022, allocations: 65.59 kB / 491.5 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.6023, allocations: 8.281 kB / 491.5 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6023, allocations: 3.984 kB / 491.5 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.6023, allocations: 0 / 491.5 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.6057, allocations: 1.41 MB / 492.9 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.6057, allocations: 4 kB / 492.9 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.6062, allocations: 47.97 kB / 493 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007051/0.6069, allocations: 153.9 kB / 493.1 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.107e-05/0.607, allocations: 12 kB / 493.1 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/0.612, allocations: 3.518 MB / 496.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6121, allocations: 0 / 496.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.6146, allocations: 0.9328 MB / 497.6 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/0.615, allocations: 192.3 kB / 497.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.6152, allocations: 15.95 kB / 497.8 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.6158, allocations: 43.97 kB / 497.8 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/0.6161, allocations: 72.45 kB / 497.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.6162, allocations: 15.98 kB / 497.9 MB, free: 12.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006338/0.6168, allocations: 329.6 kB / 498.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6168, allocations: 4 kB / 498.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001635/0.6185, allocations: 335.1 kB / 498.6 MB, free: 12.18 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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002811/0.6188, allocations: 133.2 kB / 498.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00309/0.6219, allocations: 1.357 MB / 0.4883 GB, free: 10.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.622, allocations: 1.062 kB / 0.4883 GB, free: 10.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.6231, allocations: 0.5507 MB / 0.4889 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.624, allocations: 100.3 kB / 0.489 GB, free: 9.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.6271, allocations: 0.991 MB / 0.4899 GB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.6278, allocations: 0.9467 MB / 0.4908 GB, free: 7.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.628, allocations: 43.44 kB / 0.4909 GB, free: 7.918 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.628, allocations: 4 kB / 0.4909 GB, free: 7.914 MB / 378.7 MB Notification: Performance of Templates: time 0.02595/0.654, allocations: 13.49 MB / 0.5041 GB, free: 10.4 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches