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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001839/0.001839, allocations: 197.1 kB / 8.139 MB, free: 2.191 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.183/1.183, allocations: 194.2 MB / 202.8 MB, free: 8.672 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.001825/0.001825, allocations: 117.3 kB / 247.7 MB, free: 6.414 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.596e-06, allocations: 4 kB / 297.6 MB, free: 7.961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07879/0.07881, allocations: 44.48 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/0.2832, allocations: 78.61 MB / 420.7 MB, free: 16.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.2834, allocations: 82.58 kB / 420.8 MB, free: 16.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02197/0.3054, allocations: 8.814 MB / 429.6 MB, free: 9.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.068e-05/0.3055, allocations: 11.19 kB / 429.6 MB, free: 9.305 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.0009286/0.3064, allocations: 0.6773 MB / 430.3 MB, free: 8.609 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.3065, allocations: 8.031 kB / 430.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.3066, allocations: 52.48 kB / 430.3 MB, free: 8.551 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.307, allocations: 376.2 kB / 430.7 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.3071, allocations: 19.23 kB / 430.7 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.717e-05/0.3071, allocations: 24 kB / 430.7 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004484/0.3076, allocations: 272 kB / 431 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.3081, allocations: 366.9 kB / 431.4 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3082, allocations: 11.98 kB / 431.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.3082, allocations: 7.031 kB / 431.4 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3082, allocations: 8 kB / 431.4 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.3102, allocations: 1.456 MB / 432.8 MB, free: 6.438 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.3105, allocations: 214.9 kB / 433 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3106, allocations: 81.59 kB / 433.1 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3106, allocations: 4 kB / 433.1 MB, free: 6.227 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.3109, allocations: 190.1 kB / 433.3 MB, free: 6.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.843e-06/0.3109, allocations: 0 / 433.3 MB, free: 6.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004911/0.3114, allocations: 256.6 kB / 433.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.3114, allocations: 110.8 kB / 433.7 MB, free: 5.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.3117, allocations: 277.6 kB / 433.9 MB, free: 5.504 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.3117, allocations: 36.95 kB / 434 MB, free: 5.465 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.3118, allocations: 211.1 kB / 434.2 MB, free: 5.273 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.3118, allocations: 78.84 kB / 434.3 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/0.3119, allocations: 0 / 434.3 MB, free: 5.207 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.896e-05/0.3119, allocations: 344.2 kB / 434.6 MB, free: 4.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3121, allocations: 95.05 kB / 434.7 MB, free: 4.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.3123, allocations: 245.8 kB / 434.9 MB, free: 4.562 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.3124, allocations: 115.8 kB / 435 MB, free: 4.484 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3125, allocations: 3.906 kB / 435.1 MB, free: 4.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004839/0.3129, allocations: 365.7 kB / 435.4 MB, free: 4.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.3132, allocations: 1.654 MB / 437.1 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.3132, allocations: 8 kB / 437.1 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.3134, allocations: 43.09 kB / 437.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.3136, allocations: 63.34 kB / 437.2 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008329/0.3145, allocations: 1.352 MB / 438.5 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.3149, allocations: 71.7 kB / 438.6 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.3149, allocations: 16.81 kB / 438.6 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.919e-06/0.3149, allocations: 8 kB / 438.6 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000418/0.3153, allocations: 290.4 kB / 438.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3153, allocations: 4 kB / 438.9 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.3155, allocations: 47.66 kB / 439 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.3157, allocations: 62.91 kB / 439 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.3167, allocations: 1.348 MB / 440.4 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.3171, allocations: 51.86 kB / 440.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.3171, allocations: 23.34 kB / 440.4 MB, free: 15.08 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 () * 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.0001546/0.3173, allocations: 132.8 kB / 440.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.3173, allocations: 31.62 kB / 440.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.3174, allocations: 33.67 kB / 440.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3174, allocations: 8 kB / 440.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3174, allocations: 0 / 440.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3175, allocations: 7.891 kB / 440.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3185, allocations: 0.7187 MB / 441.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3186, allocations: 4 kB / 441.4 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.3187, allocations: 19.98 kB / 441.4 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.3189, allocations: 42.48 kB / 441.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.3189, allocations: 4 kB / 441.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.32, allocations: 1.339 MB / 442.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.32, allocations: 3.984 kB / 442.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006374/0.3207, allocations: 475.6 kB / 443.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.3208, allocations: 135.3 kB / 443.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.3209, allocations: 4 kB / 443.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.3212, allocations: 35.16 kB / 443.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.3213, allocations: 19.41 kB / 443.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.3213, allocations: 11.98 kB / 443.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002115/0.3215, allocations: 210.3 kB / 443.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000694/0.3222, allocations: 171.1 kB / 443.8 MB, free: 11.92 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) * 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.0001661/0.3224, allocations: 118.1 kB / 443.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008783/0.3233, allocations: 0.6252 MB / 444.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3233, allocations: 0 / 444.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.3236, allocations: 214.7 kB / 444.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3239, allocations: 41.73 kB / 444.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.3252, allocations: 0.5443 MB / 445.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.3257, allocations: 0.8701 MB / 446.2 MB, free: 9.668 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3257, allocations: 8 kB / 446.2 MB, free: 9.66 MB / 330.7 MB Notification: Performance of Templates: time 0.01106/0.3367, allocations: 5.61 MB / 451.8 MB, free: 4.109 MB / 330.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)