Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 180 kB / 17.01 MB, free: 5.125 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.822/1.822, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009127/0.0009129, allocations: 92.16 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002659, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3806, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.5188, allocations: 88.17 MB / 464 MB, free: 8.469 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003649/0.5193, allocations: 87.94 kB / 464.1 MB, free: 8.383 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03903/0.5583, allocations: 14.22 MB / 478.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5584, allocations: 0 / 478.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.724e-05/0.5585, allocations: 20 kB / 478.3 MB, free: 10.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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00217/0.5606, allocations: 0.9752 MB / 479.3 MB, free: 9.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/0.5607, allocations: 8.031 kB / 479.3 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.5609, allocations: 90.92 kB / 479.4 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.562, allocations: 0.5102 MB / 479.9 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.5621, allocations: 50 kB / 480 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5622, allocations: 75.92 kB / 480 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.5637, allocations: 0.7381 MB / 480.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.5637, allocations: 0 / 480.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.506e-05/0.5638, allocations: 28 kB / 480.8 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.5638, allocations: 16 kB / 480.8 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.5649, allocations: 0.5555 MB / 481.4 MB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004569/0.5695, allocations: 2.705 MB / 484.1 MB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.5706, allocations: 0.6103 MB / 484.7 MB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.5707, allocations: 4.438 kB / 484.7 MB, free: 3.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006643/0.5713, allocations: 361.8 kB / 485 MB, free: 3.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=58): time 4.118e-06/0.5714, allocations: 0 / 485 MB, free: 3.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.002341/0.5737, allocations: 0.9912 MB / 486 MB, free: 2.039 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.5738, allocations: 127.3 kB / 486.2 MB, free: 1.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006603/0.5745, allocations: 449.1 kB / 486.6 MB, free: 1.445 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/0.5746, allocations: 49.69 kB / 486.6 MB, free: 1.391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.5749, allocations: 324.2 kB / 487 MB, free: 1.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.5751, allocations: 173.5 kB / 487.1 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.5752, allocations: 16 kB / 487.1 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.5754, allocations: 370.8 kB / 487.5 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/0.5758, allocations: 213.2 kB / 487.7 MB, free: 312 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/0.5764, allocations: 368.1 kB / 488.1 MB, free: 15.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.5768, allocations: 226.1 kB / 488.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5768, allocations: 0 / 488.3 MB, free: 15.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001348/0.5782, allocations: 0.7144 MB / 489 MB, free: 14.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009077/0.5791, allocations: 1.575 MB / 490.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.5791, allocations: 7.953 kB / 490.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/0.5797, allocations: 141.6 kB / 490.7 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.5801, allocations: 99.83 kB / 490.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004067/0.5842, allocations: 3.483 MB / 494.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.5848, allocations: 87.48 kB / 494.4 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.5849, allocations: 28.06 kB / 494.4 MB, free: 9.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.5849, allocations: 4 kB / 494.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001111/0.586, allocations: 0.6124 MB / 495 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.5861, allocations: 4 kB / 495 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/0.5865, allocations: 145.7 kB / 495.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.5868, allocations: 91.83 kB / 495.3 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/0.5902, allocations: 3.491 MB / 498.8 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/0.5908, allocations: 75.62 kB / 498.8 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.5909, allocations: 27.98 kB / 498.9 MB, free: 4.402 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 (68): * Single equations (assignments): 66 * 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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005841/0.5915, allocations: 313.8 kB / 499.2 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.5917, allocations: 67.19 kB / 499.2 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.5919, allocations: 73.55 kB / 499.3 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.5919, allocations: 8 kB / 499.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5919, allocations: 0 / 499.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.5919, allocations: 3.984 kB / 499.3 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.5945, allocations: 1.39 MB / 0.489 GB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5945, allocations: 0 / 0.489 GB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.5948, allocations: 55.91 kB / 0.489 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003902/0.5952, allocations: 137.6 kB / 0.4892 GB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.5952, allocations: 15.98 kB / 0.4892 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2108/0.806, allocations: 3.304 MB / 0.4924 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8061, allocations: 0.7812 kB / 0.4924 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.8079, allocations: 0.9245 MB / 0.4933 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.8081, allocations: 191 kB / 0.4935 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.8082, allocations: 18.61 kB / 0.4935 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.8086, allocations: 40.52 kB / 0.4935 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.8088, allocations: 79.38 kB / 0.4936 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.8089, allocations: 20.25 kB / 0.4936 GB, free: 103.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004905/0.8094, allocations: 349.9 kB / 0.494 GB, free: 103.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8094, allocations: 0 / 0.494 GB, free: 103.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001205/0.8106, allocations: 345.5 kB / 0.4943 GB, free: 103.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001982/0.8108, allocations: 134.5 kB / 0.4944 GB, free: 103.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.8127, allocations: 1.39 MB / 0.4958 GB, free: 102.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8127, allocations: 2.094 kB / 0.4958 GB, free: 102.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000639/0.8133, allocations: 0.5312 MB / 0.4963 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.8138, allocations: 108.4 kB / 0.4964 GB, free: 102.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.816, allocations: 1.582 MB / 0.498 GB, free: 102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.8164, allocations: 0.9573 MB / 0.4989 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.8167, allocations: 90.62 kB / 0.499 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.8168, allocations: 45.97 kB / 0.499 GB, free: 101.3 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.8168, allocations: 0 / 0.499 GB, free: 101.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01462/0.8315, allocations: 10.09 MB / 0.5089 GB, free: 100.7 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV/ThyristorBridge2Pulse_RLV.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches