Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_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.001514/0.001514, allocations: 189.3 kB / 8.134 MB, free: 2.219 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.123/1.123, allocations: 194.2 MB / 202.8 MB, free: 8.762 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.001744/0.001744, allocations: 124.9 kB / 247.8 MB, free: 6.23 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.291e-06/6.311e-06, allocations: 0 / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07925/0.07927, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.2806, allocations: 84.02 MB / 426.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.2809, allocations: 81.89 kB / 426.2 MB, free: 11.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.06864/0.3496, allocations: 27.29 MB / 453.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001183/0.3497, allocations: 32 kB / 453.5 MB, free: 4.566 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.003227/0.353, allocations: 1.506 MB / 455 MB, free: 3.074 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.353, allocations: 12.03 kB / 455 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004926/0.3535, allocations: 154.2 kB / 455.2 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/0.3573, allocations: 1.61 MB / 456.8 MB, free: 1.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/0.3574, allocations: 47.69 kB / 456.8 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.3576, allocations: 72 kB / 456.9 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002138/0.3598, allocations: 1.288 MB / 458.2 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.3622, allocations: 1.511 MB / 459.7 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.3623, allocations: 4 kB / 459.7 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.3624, allocations: 4 kB / 459.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.196e-05/0.3625, allocations: 54.45 kB / 459.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00825/0.3707, allocations: 4.629 MB / 464.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.372, allocations: 0.8295 MB / 465.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008335/0.3728, allocations: 0.5477 MB / 465.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.3729, allocations: 12.66 kB / 465.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007956/0.3737, allocations: 0.5261 MB / 466.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=79): time 2.945e-06/0.3737, allocations: 7.938 kB / 466.3 MB, free: 10.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=79): time 0.001719/0.3755, allocations: 0.9251 MB / 467.2 MB, free: 9.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.3756, allocations: 153.1 kB / 467.4 MB, free: 9.234 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.3767, allocations: 0.6868 MB / 468.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.743e-05/0.3768, allocations: 41.69 kB / 468.1 MB, free: 8.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/0.3772, allocations: 483.1 kB / 468.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.3775, allocations: 224.9 kB / 468.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.3775, allocations: 0 / 468.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.3778, allocations: 390.8 kB / 469.2 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006452/0.3784, allocations: 397.8 kB / 469.6 MB, free: 7.008 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007257/0.3792, allocations: 0.6202 MB / 470.2 MB, free: 6.293 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.3798, allocations: 428.3 kB / 470.6 MB, free: 5.875 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.3798, allocations: 4 kB / 470.6 MB, free: 5.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00172/0.3815, allocations: 1.131 MB / 471.7 MB, free: 4.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000832/0.3824, allocations: 2.528 MB / 474.3 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3824, allocations: 7.984 kB / 474.3 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/0.383, allocations: 236.7 kB / 474.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.3835, allocations: 143.7 kB / 474.7 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.3866, allocations: 2.666 MB / 477.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008102/0.3875, allocations: 135.4 kB / 477.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/0.3875, allocations: 36 kB / 477.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.194e-06/0.3876, allocations: 4 kB / 477.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001495/0.3891, allocations: 1.013 MB / 478.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3891, allocations: 8 kB / 478.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005327/0.3896, allocations: 236.7 kB / 478.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.3901, allocations: 140.2 kB / 478.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/0.3931, allocations: 2.657 MB / 481.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/0.3939, allocations: 111.6 kB / 481.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.394, allocations: 36 kB / 481.7 MB, free: 10.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002578/0.3943, allocations: 176.6 kB / 481.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.3945, allocations: 90.97 kB / 481.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.3947, allocations: 92.44 kB / 482 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/0.3947, allocations: 8 kB / 482 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3947, allocations: 0 / 482 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3948, allocations: 8.094 kB / 482.1 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/0.3987, allocations: 2.407 MB / 484.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3987, allocations: 0 / 484.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.3991, allocations: 67.89 kB / 484.5 MB, free: 7.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.3996, allocations: 205.2 kB / 484.7 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.3996, allocations: 7.984 kB / 484.7 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/0.4022, allocations: 2.411 MB / 487.1 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4022, allocations: 4 kB / 487.1 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002195/0.4044, allocations: 1.609 MB / 488.8 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/0.4049, allocations: 255.9 kB / 489 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.405, allocations: 12 kB / 489 MB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/0.4056, allocations: 75.92 kB / 489.1 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.4058, allocations: 88.45 kB / 489.2 MB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.4059, allocations: 24 kB / 489.2 MB, free: 2.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0006358/0.4065, allocations: 0.503 MB / 489.7 MB, free: 2.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001449/0.408, allocations: 0.5252 MB / 490.2 MB, free: 1.582 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002035/0.4082, allocations: 136.4 kB / 490.4 MB, free: 1.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00242/0.4106, allocations: 1.769 MB / 492.1 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4106, allocations: 0 / 492.1 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008124/0.4115, allocations: 0.6188 MB / 492.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007663/0.4122, allocations: 156.5 kB / 492.9 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.4159, allocations: 1.888 MB / 494.8 MB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/0.4171, allocations: 1.452 MB / 496.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.4171, allocations: 0 / 496.2 MB, free: 11.45 MB / 378.7 MB Notification: Performance of Templates: time 0.0293/0.4464, allocations: 18.01 MB / 0.5022 GB, free: 9.445 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R.pipe 2>&1)