Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001013/0.001013, allocations: 180.3 kB / 16.38 MB, free: 5.762 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.201/1.201, allocations: 194.5 MB / 211.6 MB, free: 3.035 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.001588/0.001588, allocations: 110.4 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003035, allocations: 12 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07582/0.07614, allocations: 44.49 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.2946, allocations: 82.2 MB / 437.3 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.2948, allocations: 87.64 kB / 437.4 MB, free: 7.359 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02832/0.3232, allocations: 12.71 MB / 450.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3232, allocations: 0 / 450.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.521e-05/0.3232, allocations: 16 kB / 450.1 MB, free: 12.77 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001455/0.3247, allocations: 0.9221 MB / 451 MB, free: 11.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3247, allocations: 8.969 kB / 451 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.3249, allocations: 79.06 kB / 451.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.3255, allocations: 480.9 kB / 451.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/0.3256, allocations: 53.73 kB / 451.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.3257, allocations: 63.94 kB / 451.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009784/0.3267, allocations: 0.6517 MB / 452.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3267, allocations: 352 / 452.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.3268, allocations: 29.12 kB / 452.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.3268, allocations: 16 kB / 452.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008446/0.3277, allocations: 0.4905 MB / 452.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.3309, allocations: 2.333 MB / 455.2 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008437/0.3318, allocations: 486.6 kB / 455.7 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3318, allocations: 4.469 kB / 455.7 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004819/0.3323, allocations: 315.4 kB / 456 MB, free: 7.039 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.3323, allocations: 0 / 456 MB, free: 7.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.00157/0.3339, allocations: 0.7506 MB / 456.7 MB, free: 6.262 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.334, allocations: 115.2 kB / 456.8 MB, free: 6.125 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.3345, allocations: 429 kB / 457.3 MB, free: 5.703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.3345, allocations: 37.7 kB / 457.3 MB, free: 5.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.3348, allocations: 313.9 kB / 457.6 MB, free: 5.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3349, allocations: 150 kB / 457.8 MB, free: 5.199 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.3349, allocations: 12 kB / 457.8 MB, free: 5.188 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.335, allocations: 358.8 kB / 458.1 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.3354, allocations: 185 kB / 458.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.3358, allocations: 338 kB / 458.6 MB, free: 4.254 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.3361, allocations: 200.7 kB / 458.8 MB, free: 4.062 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3362, allocations: 4 kB / 458.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000948/0.3371, allocations: 0.6019 MB / 459.4 MB, free: 3.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005295/0.3377, allocations: 1.571 MB / 461 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3377, allocations: 4 kB / 461 MB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.338, allocations: 88.75 kB / 461.1 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.3383, allocations: 99.77 kB / 461.2 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.34, allocations: 1.779 MB / 463 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.3405, allocations: 95.55 kB / 463.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.3405, allocations: 20 kB / 463.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.186e-06/0.3405, allocations: 4 kB / 463.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008005/0.3413, allocations: 0.5026 MB / 463.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.3413, allocations: 4 kB / 463.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.3416, allocations: 85.39 kB / 463.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.3419, allocations: 91.83 kB / 463.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.3434, allocations: 1.799 MB / 465.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.3438, allocations: 71.7 kB / 465.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.3438, allocations: 24 kB / 465.7 MB, free: 12.83 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: 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 (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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003387/0.3442, allocations: 304.9 kB / 466 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.3443, allocations: 55.33 kB / 466 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.3444, allocations: 53.45 kB / 466.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3444, allocations: 8 kB / 466.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3444, allocations: 0 / 466.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3444, allocations: 7.984 kB / 466.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.346, allocations: 1.179 MB / 467.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.346, allocations: 6.938 kB / 467.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.3463, allocations: 47.91 kB / 467.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.3465, allocations: 80.73 kB / 467.4 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.3465, allocations: 8 kB / 467.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.3481, allocations: 1.795 MB / 469.2 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3481, allocations: 0 / 469.2 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3492, allocations: 0.7684 MB / 470 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.3494, allocations: 172.3 kB / 470.1 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.3495, allocations: 16 kB / 470.1 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.3498, allocations: 39.97 kB / 470.2 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3499, allocations: 52.36 kB / 470.2 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.3499, allocations: 16.2 kB / 470.2 MB, free: 7.996 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003893/0.3503, allocations: 339.1 kB / 470.6 MB, free: 7.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3504, allocations: 0 / 470.6 MB, free: 7.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008316/0.3512, allocations: 291.1 kB / 470.9 MB, free: 7.375 MB / 346.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: 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 (39): * Single equations (assignments): 33 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001694/0.3514, allocations: 127.5 kB / 471 MB, free: 7.246 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.3528, allocations: 0.9871 MB / 472 MB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3528, allocations: 7.938 kB / 472 MB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004662/0.3533, allocations: 366 kB / 472.3 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.3537, allocations: 76.05 kB / 472.4 MB, free: 5.785 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3556, allocations: 1.386 MB / 473.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.356, allocations: 0.9285 MB / 474.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.3563, allocations: 88.48 kB / 474.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.134e-05/0.3564, allocations: 43.42 kB / 474.9 MB, free: 3.289 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.3564, allocations: 4 kB / 474.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of Templates: time 0.01198/0.3684, allocations: 7.253 MB / 482.1 MB, free: 12.07 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1)