Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009893/0.0009894, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.358/1.358, allocations: 194.5 MB / 211.6 MB, free: 3.031 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001582/0.001582, allocations: 115.8 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08577/0.08611, allocations: 44.5 MB / 355.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2521/0.3383, allocations: 83.12 MB / 438.2 MB, free: 6.543 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.3386, allocations: 89.19 kB / 438.3 MB, free: 6.488 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03099/0.3696, allocations: 13.93 MB / 452.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3696, allocations: 3.938 kB / 452.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.676e-05/0.3697, allocations: 12 kB / 452.2 MB, free: 10.88 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001602/0.3713, allocations: 1.005 MB / 453.2 MB, free: 9.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3713, allocations: 8.031 kB / 453.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.3715, allocations: 98.83 kB / 453.3 MB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.3721, allocations: 0.4999 MB / 453.8 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.3722, allocations: 53.56 kB / 453.9 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.3723, allocations: 72 kB / 454 MB, free: 9.203 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.3735, allocations: 0.7576 MB / 454.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.3735, allocations: 4 kB / 454.7 MB, free: 8.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/0.3736, allocations: 28 kB / 454.8 MB, free: 8.383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.3736, allocations: 16 kB / 454.8 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.3747, allocations: 0.5945 MB / 455.4 MB, free: 7.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003367/0.3781, allocations: 2.685 MB / 458 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.3793, allocations: 0.6928 MB / 458.7 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.3794, allocations: 4.562 kB / 458.7 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006479/0.38, allocations: 401.8 kB / 459.1 MB, free: 3.852 MB / 330.7 MB Notification: Performance of pre-optimization done (n=61): time 2.114e-06/0.3801, allocations: 0 / 459.1 MB, free: 3.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=61): time 0.002298/0.3824, allocations: 1.12 MB / 460.3 MB, free: 2.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.3824, allocations: 123.3 kB / 460.4 MB, free: 2.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.3829, allocations: 413.2 kB / 460.8 MB, free: 2.129 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.383, allocations: 45.69 kB / 460.8 MB, free: 2.078 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.3832, allocations: 328.3 kB / 461.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.3833, allocations: 189.3 kB / 461.3 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.3834, allocations: 8 kB / 461.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3835, allocations: 374.8 kB / 461.7 MB, free: 1.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.384, allocations: 233.8 kB / 461.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/0.3845, allocations: 391.5 kB / 462.3 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.3849, allocations: 246.1 kB / 462.6 MB, free: 276 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.385, allocations: 4 kB / 462.6 MB, free: 272 kB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001275/0.3862, allocations: 0.75 MB / 463.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005349/0.3868, allocations: 1.578 MB / 464.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3868, allocations: 7.984 kB / 464.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004371/0.3872, allocations: 138.7 kB / 465 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.3876, allocations: 115.8 kB / 465.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/0.3908, allocations: 3.474 MB / 468.6 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.3913, allocations: 87.41 kB / 468.7 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.3913, allocations: 24.06 kB / 468.7 MB, free: 9.695 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.3913, allocations: 9.25 kB / 468.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001087/0.3924, allocations: 0.6512 MB / 469.4 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3925, allocations: 5.781 kB / 469.4 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/0.3928, allocations: 145.6 kB / 469.5 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.3932, allocations: 104 kB / 469.6 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.396, allocations: 3.482 MB / 473.1 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.3965, allocations: 67.66 kB / 473.2 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.3965, allocations: 24.92 kB / 473.2 MB, free: 4.941 MB / 346.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 (69): * Single equations (assignments): 67 * 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.000418/0.397, allocations: 325 kB / 473.5 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.397, allocations: 64.64 kB / 473.6 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.3972, allocations: 69.58 kB / 473.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3972, allocations: 8 kB / 473.7 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3972, allocations: 0 / 473.7 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.3972, allocations: 0 / 473.7 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.3993, allocations: 1.476 MB / 475.1 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3993, allocations: 4 kB / 475.1 MB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.3996, allocations: 71.89 kB / 475.2 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003344/0.3999, allocations: 135.6 kB / 475.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.4, allocations: 15.92 kB / 475.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.4028, allocations: 3.315 MB / 478.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4028, allocations: 0 / 478.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.4044, allocations: 1.051 MB / 479.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.4047, allocations: 188.3 kB / 479.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.4048, allocations: 19.94 kB / 479.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.4052, allocations: 51.95 kB / 480 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.4054, allocations: 80.44 kB / 480.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.4054, allocations: 16 kB / 480.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003654/0.4058, allocations: 318.9 kB / 480.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4058, allocations: 4 kB / 480.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001164/0.407, allocations: 351 kB / 480.7 MB, free: 13.04 MB / 362.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 (47): * Single equations (assignments): 40 * 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.0002211/0.4072, allocations: 139.4 kB / 480.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002381/0.4096, allocations: 1.468 MB / 482.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4096, allocations: 4 kB / 482.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008228/0.4104, allocations: 0.5746 MB / 482.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.4109, allocations: 108.5 kB / 483 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.4135, allocations: 1.635 MB / 484.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/0.4142, allocations: 0.9664 MB / 485.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003308/0.4145, allocations: 84.88 kB / 485.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.4146, allocations: 43.44 kB / 485.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4146, allocations: 4 kB / 485.8 MB, free: 7.883 MB / 362.7 MB Notification: Performance of Templates: time 0.01824/0.4329, allocations: 10.17 MB / 495.9 MB, free: 13.74 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1)