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_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001011/0.001011, allocations: 183.2 kB / 8.354 MB, free: 0.7305 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.332/1.332, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.00176/0.00176, allocations: 119.6 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.732e-05, allocations: 0 / 298.1 MB, free: 35.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07354/0.07359, allocations: 44.5 MB / 342.6 MB, free: 6.977 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2741/0.3477, allocations: 81.37 MB / 424 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/0.3479, allocations: 86.91 kB / 424 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02906/0.377, allocations: 12.97 MB / 437 MB, free: 5.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3771, allocations: 0 / 437 MB, free: 5.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.142e-05/0.3771, allocations: 18.94 kB / 437 MB, free: 5.129 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.00136/0.3785, allocations: 0.8611 MB / 437.9 MB, free: 4.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3785, allocations: 7.375 kB / 437.9 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.3787, allocations: 84.55 kB / 438 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006928/0.3794, allocations: 0.4917 MB / 438.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.3795, allocations: 19.06 kB / 438.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-05/0.3796, allocations: 42.66 kB / 438.5 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006946/0.3803, allocations: 453.8 kB / 439 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008162/0.3811, allocations: 0.5682 MB / 439.5 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.3811, allocations: 3.938 kB / 439.6 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.3812, allocations: 6.859 kB / 439.6 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.3812, allocations: 15.53 kB / 439.6 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.3842, allocations: 2.475 MB / 442 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/0.385, allocations: 0.5394 MB / 442.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.3853, allocations: 241.1 kB / 442.8 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.3853, allocations: 8.125 kB / 442.8 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004062/0.3857, allocations: 314.1 kB / 443.1 MB, free: 2.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=55): time 2.294e-06/0.3858, allocations: 0 / 443.1 MB, free: 2.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.0006599/0.3864, allocations: 494.7 kB / 443.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3865, allocations: 111.1 kB / 443.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.3868, allocations: 360.3 kB / 444.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.3868, allocations: 36.89 kB / 444.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.387, allocations: 307.8 kB / 444.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/0.3871, allocations: 159.2 kB / 444.6 MB, free: 1.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.3871, allocations: 3.844 kB / 444.6 MB, free: 1.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.3872, allocations: 360.8 kB / 444.9 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.3874, allocations: 164.9 kB / 445.1 MB, free: 1.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.3877, allocations: 327.3 kB / 445.4 MB, free: 0.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.3879, allocations: 186.8 kB / 445.6 MB, free: 0.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.388, allocations: 4 kB / 445.6 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007413/0.3887, allocations: 0.5765 MB / 446.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004582/0.3892, allocations: 1.57 MB / 447.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3892, allocations: 3.875 kB / 447.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/0.3896, allocations: 146.4 kB / 447.9 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.3899, allocations: 92.3 kB / 448 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.3922, allocations: 2.272 MB / 450.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.3927, allocations: 77.69 kB / 450.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.3927, allocations: 25.88 kB / 450.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/0.3927, allocations: 3.688 kB / 450.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006514/0.3934, allocations: 0.4926 MB / 450.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3934, allocations: 3.844 kB / 450.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.3937, allocations: 163.2 kB / 451 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.394, allocations: 75.91 kB / 451.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.3962, allocations: 2.291 MB / 453.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.3966, allocations: 63.56 kB / 453.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3966, allocations: 21.88 kB / 453.5 MB, free: 11.57 MB / 314.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 () * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001592/0.3968, allocations: 141 kB / 453.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.3969, allocations: 51.44 kB / 453.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.397, allocations: 59.25 kB / 453.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.397, allocations: 8 kB / 453.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.397, allocations: 0 / 453.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3971, allocations: 7.938 kB / 453.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.3988, allocations: 1.194 MB / 454.9 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3988, allocations: 4 kB / 454.9 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.3991, allocations: 47.53 kB / 455 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003292/0.3994, allocations: 140.5 kB / 455.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.3994, allocations: 7.25 kB / 455.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.4016, allocations: 2.153 MB / 457.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4017, allocations: 0 / 457.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.4028, allocations: 0.8299 MB / 458.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.403, allocations: 180.5 kB / 458.3 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/0.4031, allocations: 11.94 kB / 458.3 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.4035, allocations: 35.91 kB / 458.3 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.4036, allocations: 74.02 kB / 458.4 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.4037, allocations: 19.86 kB / 458.4 MB, free: 7.566 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002811/0.4039, allocations: 262.7 kB / 458.7 MB, free: 7.367 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.404, allocations: 4 kB / 458.7 MB, free: 7.363 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001032/0.405, allocations: 294.6 kB / 459 MB, free: 7.078 MB / 314.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: 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.4052, allocations: 132.5 kB / 459.1 MB, free: 6.941 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.4067, allocations: 1.087 MB / 460.2 MB, free: 6.117 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4068, allocations: 0.75 kB / 460.2 MB, free: 6.117 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005055/0.4073, allocations: 411.9 kB / 460.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.4077, allocations: 74.75 kB / 460.6 MB, free: 5.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.4095, allocations: 0.8324 MB / 461.5 MB, free: 5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.4101, allocations: 0.9457 MB / 462.4 MB, free: 4.035 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003772/0.4105, allocations: 100.4 kB / 462.5 MB, free: 3.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.4106, allocations: 35.42 kB / 462.6 MB, free: 3.902 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4106, allocations: 0 / 462.6 MB, free: 3.902 MB / 314.7 MB Notification: Performance of Templates: time 0.01598/0.4266, allocations: 9.493 MB / 472.1 MB, free: 10.42 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1)