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") [: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.001418/0.001418, allocations: 189.8 kB / 8.133 MB, free: 2.199 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.214/1.214, 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.001684/0.001684, allocations: 115.2 kB / 247.7 MB, free: 6.402 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.775e-06, allocations: 3.938 kB / 297.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07349/0.07351, allocations: 44.49 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2091/0.2826, allocations: 78.8 MB / 420.9 MB, free: 16.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.2829, allocations: 79.92 kB / 421 MB, free: 16.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02326/0.3061, allocations: 8.943 MB / 429.9 MB, free: 8.934 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.864e-05/0.3062, allocations: 8 kB / 429.9 MB, free: 8.926 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001136/0.3073, allocations: 0.7115 MB / 430.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3074, allocations: 8.031 kB / 430.6 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.3075, allocations: 55.34 kB / 430.7 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.308, allocations: 365.8 kB / 431 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.3081, allocations: 12 kB / 431 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.249e-05/0.3081, allocations: 24 kB / 431.1 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004866/0.3086, allocations: 280.9 kB / 431.3 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.3092, allocations: 391.9 kB / 431.7 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.3093, allocations: 0 / 431.7 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.3093, allocations: 4 kB / 431.7 MB, free: 7.285 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.3093, allocations: 8 kB / 431.7 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/0.3115, allocations: 1.49 MB / 433.2 MB, free: 5.992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.3121, allocations: 330.9 kB / 433.6 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.3123, allocations: 98.44 kB / 433.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.3123, allocations: 7.922 kB / 433.7 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.3126, allocations: 214.2 kB / 433.9 MB, free: 5.492 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.3126, allocations: 0 / 433.9 MB, free: 5.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005677/0.3132, allocations: 278.9 kB / 434.1 MB, free: 5.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.3132, allocations: 114.7 kB / 434.2 MB, free: 5.133 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.3135, allocations: 255.2 kB / 434.5 MB, free: 4.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.3135, allocations: 33.33 kB / 434.5 MB, free: 4.887 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.3136, allocations: 209.5 kB / 434.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.3137, allocations: 85.88 kB / 434.8 MB, free: 4.625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.3137, allocations: 0 / 434.8 MB, free: 4.625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.3138, allocations: 345.2 kB / 435.2 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3139, allocations: 96.42 kB / 435.2 MB, free: 4.238 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.3141, allocations: 246.5 kB / 435.5 MB, free: 3.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.3143, allocations: 115.9 kB / 435.6 MB, free: 3.902 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3143, allocations: 4 kB / 435.6 MB, free: 3.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005168/0.3148, allocations: 365.7 kB / 436 MB, free: 3.609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002491/0.3151, allocations: 1.656 MB / 437.6 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3151, allocations: 6.625 kB / 437.6 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.3153, allocations: 51.14 kB / 437.7 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.3156, allocations: 76.28 kB / 437.8 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008839/0.3165, allocations: 1.355 MB / 439.1 MB, free: 360 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/0.3169, allocations: 67.7 kB / 439.2 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.3169, allocations: 16.56 kB / 439.2 MB, free: 280 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.641e-06/0.317, allocations: 8 kB / 439.2 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000445/0.3174, allocations: 294.6 kB / 439.5 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3174, allocations: 4.531 kB / 439.5 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.3175, allocations: 51.28 kB / 439.5 MB, free: 0 / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.3179, allocations: 67.59 kB / 439.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.3189, allocations: 1.346 MB / 441 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/0.3193, allocations: 47.88 kB / 441 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.3194, allocations: 22.16 kB / 441 MB, free: 14.48 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 (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.0001478/0.3195, allocations: 134.4 kB / 441.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.3196, allocations: 39.61 kB / 441.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.577e-05/0.3197, allocations: 38.3 kB / 441.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3197, allocations: 4 kB / 441.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3197, allocations: 3.906 kB / 441.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3197, allocations: 7.984 kB / 441.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.3208, allocations: 0.7437 MB / 442 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3209, allocations: 3.906 kB / 442 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.3211, allocations: 43.91 kB / 442 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.3213, allocations: 47.64 kB / 442.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.3213, allocations: 4 kB / 442.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.3224, allocations: 1.334 MB / 443.4 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3224, allocations: 0 / 443.4 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006692/0.3231, allocations: 0.4988 MB / 443.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3232, allocations: 133.3 kB / 444 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.3233, allocations: 7.891 kB / 444.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.3236, allocations: 49.53 kB / 444.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.3237, allocations: 27.64 kB / 444.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.3238, allocations: 8 kB / 444.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001867/0.324, allocations: 193.7 kB / 444.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007006/0.3247, allocations: 175.3 kB / 444.5 MB, free: 11.26 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 (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.000164/0.3248, allocations: 119.2 kB / 444.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009585/0.3258, allocations: 0.6516 MB / 445.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3258, allocations: 0 / 445.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.3261, allocations: 226.2 kB / 445.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.3265, allocations: 45.05 kB / 445.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.3279, allocations: 0.5795 MB / 446.1 MB, free: 9.836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005274/0.3284, allocations: 0.881 MB / 447 MB, free: 8.938 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3284, allocations: 0 / 447 MB, free: 8.938 MB / 330.7 MB Notification: Performance of Templates: time 0.01159/0.34, allocations: 5.887 MB / 452.9 MB, free: 3.121 MB / 330.7 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)