Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.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.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001175/0.001175, allocations: 178.9 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.177/1.177, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001591/0.001591, allocations: 106.7 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002783, allocations: 12 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07334/0.07363, allocations: 44.49 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.3081, allocations: 79.43 MB / 434.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.3083, allocations: 90.81 kB / 434.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01987/0.3282, allocations: 9.17 MB / 443.8 MB, free: 2.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3283, allocations: 5.125 kB / 443.8 MB, free: 2.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.3283, allocations: 12 kB / 443.8 MB, free: 2.492 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0009588/0.3292, allocations: 0.7196 MB / 444.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3293, allocations: 8.031 kB / 444.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.3294, allocations: 58.05 kB / 444.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.3298, allocations: 372.3 kB / 444.9 MB, free: 1.344 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.3299, allocations: 39.98 kB / 445 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.3299, allocations: 47.28 kB / 445 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.3305, allocations: 452.3 kB / 445.4 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3305, allocations: 0 / 445.4 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.3306, allocations: 22.06 kB / 445.5 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3306, allocations: 8 kB / 445.5 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.3311, allocations: 333.4 kB / 445.8 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.3331, allocations: 1.556 MB / 447.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.3335, allocations: 234.9 kB / 447.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3335, allocations: 4 kB / 447.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/0.3339, allocations: 236.7 kB / 447.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.482e-06/0.3339, allocations: 0 / 447.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009673/0.3349, allocations: 0.4951 MB / 448.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.3349, allocations: 117.9 kB / 448.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.3353, allocations: 307.1 kB / 448.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.3353, allocations: 40.38 kB / 448.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.3355, allocations: 242.5 kB / 449 MB, free: 13.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.3356, allocations: 80.34 kB / 449.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.3356, allocations: 11.81 kB / 449.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3357, allocations: 344.4 kB / 449.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.3359, allocations: 127.9 kB / 449.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.3363, allocations: 272.2 kB / 449.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.3365, allocations: 153.1 kB / 450 MB, free: 12.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3365, allocations: 3.984 kB / 450 MB, free: 12.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006992/0.3372, allocations: 448.2 kB / 450.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005917/0.3378, allocations: 1.663 MB / 452.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.3379, allocations: 5.875 kB / 452.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.338, allocations: 48.83 kB / 452.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.3383, allocations: 63.91 kB / 452.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.3395, allocations: 1.514 MB / 453.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.3398, allocations: 71.64 kB / 453.8 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.3399, allocations: 16 kB / 453.8 MB, free: 8.875 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.3399, allocations: 7.938 kB / 453.8 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005333/0.3404, allocations: 361.1 kB / 454.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3404, allocations: 12 kB / 454.2 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001206/0.3406, allocations: 44.83 kB / 454.2 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.3408, allocations: 59.91 kB / 454.3 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.3419, allocations: 1.504 MB / 455.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.3422, allocations: 55.72 kB / 455.8 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.3422, allocations: 23.95 kB / 455.9 MB, free: 6.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002522/0.3425, allocations: 280.6 kB / 456.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.3425, allocations: 31.62 kB / 456.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.258e-05/0.3426, allocations: 35.95 kB / 456.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3426, allocations: 4 kB / 456.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.3426, allocations: 0 / 456.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3426, allocations: 3.984 kB / 456.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.3437, allocations: 0.8315 MB / 457 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.3437, allocations: 7.938 kB / 457 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.3439, allocations: 16 kB / 457.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.344, allocations: 47.7 kB / 457.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.344, allocations: 15.98 kB / 457.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.3451, allocations: 1.416 MB / 458.5 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3451, allocations: 4.062 kB / 458.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.3458, allocations: 0.5264 MB / 459.1 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.346, allocations: 132.7 kB / 459.2 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.346, allocations: 11.98 kB / 459.2 MB, free: 3.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.3463, allocations: 39.97 kB / 459.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.3464, allocations: 27.95 kB / 459.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.3464, allocations: 4 kB / 459.3 MB, free: 3.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002645/0.3467, allocations: 251 kB / 459.5 MB, free: 2.781 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3467, allocations: 0 / 459.5 MB, free: 2.781 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006517/0.3473, allocations: 191.4 kB / 459.7 MB, free: 2.594 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001479/0.3475, allocations: 127.5 kB / 459.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009988/0.3485, allocations: 0.7177 MB / 460.5 MB, free: 1.715 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3485, allocations: 4.062 kB / 460.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.3488, allocations: 246.6 kB / 460.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3491, allocations: 46.86 kB / 460.8 MB, free: 1.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3504, allocations: 0.9337 MB / 461.8 MB, free: 464 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.3508, allocations: 0.8467 MB / 462.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.351, allocations: 71.19 kB / 462.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.3511, allocations: 23.44 kB / 462.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3511, allocations: 0 / 462.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of Templates: time 0.007886/0.359, allocations: 4.552 MB / 467.3 MB, free: 11.01 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1)