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_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001624, 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 3.243/3.243, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001205/0.001205, allocations: 89.36 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005901/0.0005902, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.5148, allocations: 47.58 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1823/0.6971, allocations: 87.74 MB / 463.5 MB, free: 8.883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004328/0.6977, allocations: 91.94 kB / 463.6 MB, free: 8.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04902/0.7467, allocations: 13.63 MB / 477.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.77e-06/0.7469, allocations: 0 / 477.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001222/0.747, allocations: 16 kB / 477.2 MB, free: 11.07 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.004049/0.7511, allocations: 0.938 MB / 478.2 MB, free: 10.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.807e-05/0.7512, allocations: 8.031 kB / 478.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005671/0.7518, allocations: 87.91 kB / 478.2 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.7536, allocations: 0.4989 MB / 478.7 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.7538, allocations: 49.69 kB / 478.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.754, allocations: 68.31 kB / 478.9 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.7567, allocations: 0.6987 MB / 479.6 MB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/0.7568, allocations: 8.125 kB / 479.6 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.757, allocations: 27.94 kB / 479.6 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.757, allocations: 20 kB / 479.6 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.7592, allocations: 0.5204 MB / 480.1 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007678/0.7669, allocations: 2.612 MB / 482.7 MB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.769, allocations: 0.5764 MB / 483.3 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.7701, allocations: 331 kB / 483.6 MB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.7702, allocations: 8.438 kB / 483.7 MB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001594/0.7718, allocations: 349.7 kB / 484 MB, free: 4.012 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 5.841e-06/0.7719, allocations: 0 / 484 MB, free: 4.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.008571/0.7804, allocations: 0.996 MB / 485 MB, free: 2.988 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/0.7807, allocations: 119.3 kB / 485.1 MB, free: 2.848 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.782, allocations: 493.9 kB / 485.6 MB, free: 2.355 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.7821, allocations: 49.69 kB / 485.6 MB, free: 2.301 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.7826, allocations: 316.3 kB / 485.9 MB, free: 1.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.7828, allocations: 161.8 kB / 486.1 MB, free: 1.824 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.7829, allocations: 12 kB / 486.1 MB, free: 1.812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002523/0.7832, allocations: 370.7 kB / 486.5 MB, free: 1.441 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006144/0.7838, allocations: 201.2 kB / 486.7 MB, free: 1.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007925/0.7846, allocations: 360.2 kB / 487 MB, free: 0.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/0.7957, allocations: 497.9 kB / 487.5 MB, free: 296 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.088e-05/0.7959, allocations: 4 kB / 487.5 MB, free: 292 kB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002867/0.7988, allocations: 0.6947 MB / 488.2 MB, free: 15.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003732/0.7992, allocations: 209.8 kB / 488.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.7992, allocations: 4 kB / 488.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009162/0.8002, allocations: 156.8 kB / 488.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.8007, allocations: 87.84 kB / 488.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/0.806, allocations: 2.35 MB / 491 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.8072, allocations: 83.5 kB / 491.1 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/0.8073, allocations: 27.98 kB / 491.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.8074, allocations: 4 kB / 491.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001815/0.8092, allocations: 0.5876 MB / 491.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.8092, allocations: 7.938 kB / 491.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007267/0.81, allocations: 166 kB / 491.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.8104, allocations: 79.84 kB / 492 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005042/0.8155, allocations: 2.354 MB / 494.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008985/0.8164, allocations: 75.61 kB / 494.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/0.8165, allocations: 24 kB / 494.4 MB, free: 9.043 MB / 378.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 () * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.000952/0.8175, allocations: 305 kB / 494.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.8177, allocations: 63.28 kB / 494.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.8179, allocations: 69.5 kB / 494.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.818, allocations: 11.94 kB / 494.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.818, allocations: 0 / 494.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.818, allocations: 3.984 kB / 494.9 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/0.8215, allocations: 1.368 MB / 496.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/0.8216, allocations: 0 / 496.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.8219, allocations: 43.86 kB / 496.3 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006225/0.8226, allocations: 144.8 kB / 496.4 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/0.8226, allocations: 16.03 kB / 496.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/0.8269, allocations: 2.264 MB / 498.7 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8269, allocations: 0 / 498.7 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.8294, allocations: 0.9022 MB / 499.6 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005031/0.8299, allocations: 184.2 kB / 499.8 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.83, allocations: 15.98 kB / 499.8 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/0.8306, allocations: 43.97 kB / 499.8 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.8309, allocations: 76.33 kB / 499.9 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/0.8309, allocations: 19.98 kB / 499.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008152/0.8318, allocations: 342.9 kB / 0.4885 GB, free: 2.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.737e-06/0.8318, allocations: 0 / 0.4885 GB, free: 2.957 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00193/0.8337, allocations: 331.2 kB / 0.4888 GB, free: 2.633 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: 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003319/0.8341, allocations: 129.6 kB / 0.489 GB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003266/0.8373, allocations: 1.202 MB / 0.4901 GB, free: 1.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.8374, allocations: 0 / 0.4901 GB, free: 1.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.8385, allocations: 466.6 kB / 0.4906 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.8398, allocations: 114.6 kB / 0.4907 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3579/1.198, allocations: 1.45 MB / 0.4921 GB, free: 105.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000852/1.199, allocations: 0.9234 MB / 0.493 GB, free: 104.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003518/1.199, allocations: 40.06 kB / 0.4931 GB, free: 104.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/1.199, allocations: 0 / 0.4931 GB, free: 104.5 MB / 378.7 MB Notification: Performance of Templates: time 0.03162/1.231, allocations: 10.89 MB / 0.5037 GB, free: 103.8 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches