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.001522/0.001521, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.265/1.265, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001617/0.001617, allocations: 106.9 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.481e-05/1.482e-05, allocations: 4 kB / 298.1 MB, free: 8.219 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07445/0.07448, allocations: 44.49 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2688/0.3434, allocations: 81.46 MB / 424 MB, free: 14.42 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.3437, allocations: 82.45 kB / 424.1 MB, free: 14.38 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02782/0.3715, allocations: 12.58 MB / 436.7 MB, free: 4.031 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3715, allocations: 0 / 436.7 MB, free: 4.031 MB / 315.1 MB Notification: Performance of Transformations before backend: time 3.478e-05/0.3716, allocations: 12 kB / 436.7 MB, free: 4.02 MB / 315.1 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.001194/0.3728, allocations: 0.8489 MB / 437.6 MB, free: 3.164 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3728, allocations: 12.03 kB / 437.6 MB, free: 3.152 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.373, allocations: 86.23 kB / 437.7 MB, free: 3.07 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/0.3736, allocations: 481 kB / 438.1 MB, free: 2.641 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.3736, allocations: 23.83 kB / 438.2 MB, free: 2.621 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.3737, allocations: 39 kB / 438.2 MB, free: 2.586 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005931/0.3743, allocations: 402.8 kB / 438.6 MB, free: 2.348 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007494/0.375, allocations: 0.5375 MB / 439.1 MB, free: 1.938 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.3751, allocations: 7.953 kB / 439.1 MB, free: 1.93 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/0.3751, allocations: 3.984 kB / 439.1 MB, free: 1.926 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3752, allocations: 16 kB / 439.1 MB, free: 1.91 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.3777, allocations: 2.196 MB / 441.3 MB, free: 64 kB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/0.3785, allocations: 440.4 kB / 441.8 MB, free: 15.76 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/0.379, allocations: 233.9 kB / 442 MB, free: 15.6 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.379, allocations: 4 kB / 442 MB, free: 15.6 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004286/0.3794, allocations: 294.3 kB / 442.3 MB, free: 15.35 MB / 331.1 MB Notification: Performance of pre-optimization done (n=47): time 1.944e-06/0.3794, allocations: 0 / 442.3 MB, free: 15.35 MB / 331.1 MB Notification: Performance of matching and sorting (n=47): time 0.0006784/0.3801, allocations: 392.3 kB / 442.7 MB, free: 15.06 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.3802, allocations: 140.5 kB / 442.8 MB, free: 14.89 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.3806, allocations: 370.8 kB / 443.2 MB, free: 14.6 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.3807, allocations: 32.94 kB / 443.2 MB, free: 14.57 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.3809, allocations: 317.1 kB / 443.5 MB, free: 14.33 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.381, allocations: 135.9 kB / 443.7 MB, free: 14.21 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.381, allocations: 0 / 443.7 MB, free: 14.21 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3811, allocations: 357.8 kB / 444 MB, free: 13.87 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.3814, allocations: 143.7 kB / 444.1 MB, free: 13.79 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.3817, allocations: 293.8 kB / 444.4 MB, free: 13.51 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.3819, allocations: 158.8 kB / 444.6 MB, free: 13.41 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3819, allocations: 4 kB / 444.6 MB, free: 13.41 MB / 331.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007345/0.3827, allocations: 0.4968 MB / 445.1 MB, free: 13.02 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006084/0.3833, allocations: 1.66 MB / 446.7 MB, free: 11.26 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3833, allocations: 11.98 kB / 446.8 MB, free: 11.25 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000286/0.3836, allocations: 78.88 kB / 446.8 MB, free: 11.19 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.384, allocations: 95.39 kB / 446.9 MB, free: 11.1 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.3855, allocations: 1.688 MB / 448.6 MB, free: 9.5 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/0.386, allocations: 75.61 kB / 448.7 MB, free: 9.426 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.386, allocations: 23.86 kB / 448.7 MB, free: 9.406 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/0.386, allocations: 7.125 kB / 448.7 MB, free: 9.402 MB / 331.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006121/0.3866, allocations: 416.5 kB / 449.1 MB, free: 9.105 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3867, allocations: 4 kB / 449.1 MB, free: 9.102 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.3868, allocations: 81.03 kB / 449.2 MB, free: 9.043 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.3872, allocations: 90.78 kB / 449.3 MB, free: 8.957 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.3885, allocations: 1.696 MB / 451 MB, free: 7.348 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.3889, allocations: 55.7 kB / 451 MB, free: 7.293 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.3889, allocations: 23.73 kB / 451.1 MB, free: 7.273 MB / 331.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.3891, allocations: 140.4 kB / 451.2 MB, free: 7.133 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.3892, allocations: 55.3 kB / 451.3 MB, free: 7.078 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.3893, allocations: 50.41 kB / 451.3 MB, free: 7.055 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3894, allocations: 4 kB / 451.3 MB, free: 7.051 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.3894, allocations: 0 / 451.3 MB, free: 7.051 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3894, allocations: 7.984 kB / 451.3 MB, free: 7.043 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.3908, allocations: 1.129 MB / 452.5 MB, free: 6.133 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3909, allocations: 0 / 452.5 MB, free: 6.133 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.3911, allocations: 48.75 kB / 452.5 MB, free: 6.086 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001937/0.3913, allocations: 68.92 kB / 452.6 MB, free: 6.035 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.3913, allocations: 11.36 kB / 452.6 MB, free: 6.027 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.3927, allocations: 1.588 MB / 454.2 MB, free: 4.508 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3928, allocations: 4.375 kB / 454.2 MB, free: 4.504 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009236/0.3937, allocations: 0.7108 MB / 454.9 MB, free: 3.961 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.3939, allocations: 160.2 kB / 455 MB, free: 3.805 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.394, allocations: 15.62 kB / 455.1 MB, free: 3.793 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.3943, allocations: 35.95 kB / 455.1 MB, free: 3.758 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.3944, allocations: 53.12 kB / 455.1 MB, free: 3.715 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.3944, allocations: 15.25 kB / 455.2 MB, free: 3.703 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0002619/0.3947, allocations: 270.5 kB / 455.4 MB, free: 3.5 MB / 331.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.3947, allocations: 0 / 455.4 MB, free: 3.5 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0008701/0.3956, allocations: 273.4 kB / 455.7 MB, free: 3.234 MB / 331.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001849/0.3958, allocations: 124.8 kB / 455.8 MB, free: 3.109 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.397, allocations: 0.8663 MB / 456.7 MB, free: 2.441 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.397, allocations: 0 / 456.7 MB, free: 2.441 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.3974, allocations: 319.1 kB / 457 MB, free: 2.191 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.3979, allocations: 64.95 kB / 457 MB, free: 2.145 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.3995, allocations: 0.823 MB / 457.9 MB, free: 1.395 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.4001, allocations: 0.9253 MB / 458.8 MB, free: 456 kB / 331.1 MB Notification: Performance of simCode: alias equations: time 0.0003774/0.4005, allocations: 104.3 kB / 458.9 MB, free: 348 kB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.139e-05/0.4006, allocations: 31.44 kB / 458.9 MB, free: 316 kB / 331.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4006, allocations: 4 kB / 458.9 MB, free: 312 kB / 331.1 MB Notification: Performance of Templates: time 0.01213/0.4128, allocations: 6.922 MB / 465.9 MB, free: 9.445 MB / 347.1 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)