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_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.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001567/0.001568, allocations: 187.9 kB / 8.351 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.406/1.406, 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.001635/0.001635, allocations: 110.7 kB / 248.1 MB, free: 6.32 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.462e-05/1.472e-05, allocations: 4 kB / 298.1 MB, free: 8.215 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09077, allocations: 44.51 MB / 342.6 MB, free: 11.61 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2915/0.3823, allocations: 78.87 MB / 421.5 MB, free: 16.95 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.3825, allocations: 81.7 kB / 421.5 MB, free: 16.91 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02182/0.4044, allocations: 9.192 MB / 430.7 MB, free: 9.301 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4044, allocations: 4 kB / 430.7 MB, free: 9.297 MB / 315.1 MB Notification: Performance of Transformations before backend: time 3.249e-05/0.4045, allocations: 15.83 kB / 430.8 MB, free: 9.285 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00133/0.4058, allocations: 0.6942 MB / 431.5 MB, free: 8.574 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4058, allocations: 8.031 kB / 431.5 MB, free: 8.566 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.406, allocations: 55.59 kB / 431.5 MB, free: 8.516 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.4065, allocations: 378.4 kB / 431.9 MB, free: 8.16 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.4065, allocations: 16 kB / 431.9 MB, free: 8.145 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.4066, allocations: 24 kB / 431.9 MB, free: 8.121 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004676/0.4071, allocations: 277.1 kB / 432.2 MB, free: 7.957 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.4077, allocations: 372.2 kB / 432.6 MB, free: 7.676 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.4077, allocations: 3.938 kB / 432.6 MB, free: 7.672 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.4077, allocations: 3.984 kB / 432.6 MB, free: 7.668 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.4078, allocations: 12 kB / 432.6 MB, free: 7.656 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.41, allocations: 1.496 MB / 434.1 MB, free: 6.371 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.4107, allocations: 337.1 kB / 434.4 MB, free: 6.125 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.4108, allocations: 97 kB / 434.5 MB, free: 6.066 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.4109, allocations: 4.234 kB / 434.5 MB, free: 6.062 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.4112, allocations: 234.8 kB / 434.7 MB, free: 5.867 MB / 315.1 MB Notification: Performance of pre-optimization done (n=32): time 2.305e-06/0.4112, allocations: 0 / 434.7 MB, free: 5.867 MB / 315.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006126/0.4118, allocations: 295.3 kB / 435 MB, free: 5.629 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.4118, allocations: 110.5 kB / 435.1 MB, free: 5.5 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.4121, allocations: 259.1 kB / 435.4 MB, free: 5.285 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.4121, allocations: 29.7 kB / 435.4 MB, free: 5.25 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/0.4122, allocations: 237.8 kB / 435.6 MB, free: 5.062 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.4123, allocations: 92.14 kB / 435.7 MB, free: 4.984 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/0.4123, allocations: 4 kB / 435.7 MB, free: 4.98 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.4124, allocations: 343.5 kB / 436.1 MB, free: 4.648 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.4125, allocations: 92.86 kB / 436.2 MB, free: 4.598 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.4127, allocations: 247.2 kB / 436.4 MB, free: 4.34 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.4129, allocations: 115 kB / 436.5 MB, free: 4.266 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.4129, allocations: 4 kB / 436.5 MB, free: 4.262 MB / 315.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005116/0.4134, allocations: 363 kB / 436.9 MB, free: 3.977 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003965/0.4138, allocations: 1.664 MB / 438.5 MB, free: 2.211 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4138, allocations: 4 kB / 438.5 MB, free: 2.207 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/0.414, allocations: 53.5 kB / 438.6 MB, free: 2.164 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.4143, allocations: 75.33 kB / 438.7 MB, free: 2.094 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009048/0.4152, allocations: 1.453 MB / 440.1 MB, free: 0.625 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.4155, allocations: 59.77 kB / 440.2 MB, free: 0.5664 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.4156, allocations: 19 kB / 440.2 MB, free: 0.5508 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.4156, allocations: 6.141 kB / 440.2 MB, free: 0.5469 MB / 315.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003982/0.416, allocations: 301.8 kB / 440.5 MB, free: 328 kB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.416, allocations: 4.656 kB / 440.5 MB, free: 324 kB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/0.4161, allocations: 42.66 kB / 440.5 MB, free: 288 kB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.4164, allocations: 75.14 kB / 440.6 MB, free: 216 kB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.4175, allocations: 1.44 MB / 442.1 MB, free: 14.75 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.4178, allocations: 47.88 kB / 442.1 MB, free: 14.71 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.4178, allocations: 14.44 kB / 442.1 MB, free: 14.7 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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0001426/0.418, allocations: 141.4 kB / 442.3 MB, free: 14.55 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.418, allocations: 34.44 kB / 442.3 MB, free: 14.52 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.4181, allocations: 35.92 kB / 442.3 MB, free: 14.49 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4181, allocations: 4 kB / 442.3 MB, free: 14.49 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4181, allocations: 0 / 442.3 MB, free: 14.49 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4181, allocations: 4 kB / 442.3 MB, free: 14.48 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.4191, allocations: 0.7666 MB / 443.1 MB, free: 13.84 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4192, allocations: 0 / 443.1 MB, free: 13.84 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.4194, allocations: 47.91 kB / 443.1 MB, free: 13.79 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.4195, allocations: 40.39 kB / 443.2 MB, free: 13.76 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.4195, allocations: 4.875 kB / 443.2 MB, free: 13.75 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.4206, allocations: 1.351 MB / 444.5 MB, free: 12.38 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4206, allocations: 3.938 kB / 444.5 MB, free: 12.38 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006312/0.4213, allocations: 0.506 MB / 445.1 MB, free: 11.98 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.4214, allocations: 131.4 kB / 445.2 MB, free: 11.84 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.4215, allocations: 7.234 kB / 445.2 MB, free: 11.84 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.4218, allocations: 40.03 kB / 445.2 MB, free: 11.8 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.4219, allocations: 35.38 kB / 445.3 MB, free: 11.77 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.4219, allocations: 8 kB / 445.3 MB, free: 11.77 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.4221, allocations: 199.8 kB / 445.5 MB, free: 11.61 MB / 331.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4221, allocations: 0 / 445.5 MB, free: 11.61 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0007575/0.4229, allocations: 179.3 kB / 445.6 MB, free: 11.44 MB / 331.1 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 22 * 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.0001984/0.4231, allocations: 126.9 kB / 445.8 MB, free: 11.3 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.4241, allocations: 0.6616 MB / 446.4 MB, free: 10.77 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4241, allocations: 3.625 kB / 446.4 MB, free: 10.77 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.4244, allocations: 233.4 kB / 446.7 MB, free: 10.57 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.4247, allocations: 42.73 kB / 446.7 MB, free: 10.54 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.4259, allocations: 0.5753 MB / 447.3 MB, free: 10.01 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.4264, allocations: 0.8481 MB / 448.1 MB, free: 9.145 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 0.0002961/0.4267, allocations: 79.22 kB / 448.2 MB, free: 9.07 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.4267, allocations: 23.44 kB / 448.2 MB, free: 9.047 MB / 331.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4267, allocations: 0 / 448.2 MB, free: 9.047 MB / 331.1 MB Notification: Performance of Templates: time 0.01006/0.4368, allocations: 4.715 MB / 452.9 MB, free: 4.402 MB / 331.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic.pipe 2>&1)