Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.00154, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 194.5 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001488, allocations: 48.41 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3978, allocations: 46.63 MB / 324.8 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003048/0.4009, allocations: 1.566 MB / 326.4 MB, free: 0.6758 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.4033, allocations: 0.8812 MB / 327.3 MB, free: 8 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.4034, allocations: 3.562 kB / 327.3 MB, free: 8 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.4036, allocations: 7.922 kB / 327.3 MB, free: 0 / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.4037, allocations: 15 kB / 327.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.4041, allocations: 51.73 kB / 327.4 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.4044, allocations: 145.5 kB / 327.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.4046, allocations: 20.69 kB / 327.5 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007911/0.4054, allocations: 383.6 kB / 327.9 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.4056, allocations: 72.44 kB / 328 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.4056, allocations: 13.38 kB / 328 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.297e-05/0.4057, allocations: 13.78 kB / 328 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.4059, allocations: 65.55 kB / 328.1 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.4061, allocations: 115.8 kB / 328.2 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005592/0.4067, allocations: 351.3 kB / 328.5 MB, free: 15.27 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.4067, allocations: 0 / 328.5 MB, free: 15.27 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4067, allocations: 0 / 328.5 MB, free: 15.27 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.4067, allocations: 0 / 328.5 MB, free: 15.27 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001281/0.408, allocations: 0.7163 MB / 329.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.4081, allocations: 9.812 kB / 329.3 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.731e-05/0.4082, allocations: 42.14 kB / 329.3 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.4085, allocations: 273.7 kB / 329.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.4085, allocations: 8.781 kB / 329.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.4086, allocations: 8.031 kB / 329.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.4089, allocations: 126.4 kB / 329.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4089, allocations: 0 / 329.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.409, allocations: 4.844 kB / 329.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.409, allocations: 0 / 329.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.4091, allocations: 56.81 kB / 329.8 MB, free: 14.17 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007396/0.4099, allocations: 464.5 kB / 330.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.4102, allocations: 94.36 kB / 330.3 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.4103, allocations: 79.83 kB / 330.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.4104, allocations: 1 kB / 330.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.4108, allocations: 210.7 kB / 330.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.4108, allocations: 1.312 kB / 330.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001204/0.4121, allocations: 466.6 kB / 331 MB, free: 13.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001962/0.4123, allocations: 168.8 kB / 331.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009646/0.4132, allocations: 0.517 MB / 331.7 MB, free: 12.64 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.4133, allocations: 34.23 kB / 331.8 MB, free: 12.6 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4134, allocations: 100.4 kB / 331.9 MB, free: 12.5 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.4135, allocations: 38.86 kB / 331.9 MB, free: 12.47 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.4137, allocations: 80.84 kB / 332 MB, free: 12.42 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.4139, allocations: 325.9 kB / 332.3 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.4141, allocations: 58.5 kB / 332.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.4143, allocations: 69.88 kB / 332.4 MB, free: 12.03 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.4148, allocations: 339.9 kB / 332.8 MB, free: 11.7 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4148, allocations: 4 kB / 332.8 MB, free: 11.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006686/0.4155, allocations: 375.2 kB / 333.1 MB, free: 11.42 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.4156, allocations: 126.8 kB / 333.2 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4157, allocations: 0 / 333.2 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4157, allocations: 0 / 333.2 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.858e-05/0.4157, allocations: 4 kB / 333.3 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4157, allocations: 3.938 kB / 333.3 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.4159, allocations: 19.83 kB / 333.3 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.416, allocations: 36 kB / 333.3 MB, free: 11.21 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003916/0.4164, allocations: 366.3 kB / 333.7 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.4165, allocations: 35.62 kB / 333.7 MB, free: 10.78 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.4166, allocations: 67.14 kB / 333.8 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4166, allocations: 0 / 333.8 MB, free: 10.71 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4166, allocations: 4 kB / 333.8 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4166, allocations: 0 / 333.8 MB, free: 10.7 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.4176, allocations: 0.8059 MB / 334.6 MB, free: 9.816 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4177, allocations: 3.938 kB / 334.6 MB, free: 9.812 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-06/0.4177, allocations: 3.984 kB / 334.6 MB, free: 9.809 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.4177, allocations: 8 kB / 334.6 MB, free: 9.801 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.4177, allocations: 8 kB / 334.6 MB, free: 9.793 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4177, allocations: 0 / 334.6 MB, free: 9.793 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4177, allocations: 3.938 kB / 334.6 MB, free: 9.789 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006765/0.4184, allocations: 0.5213 MB / 335.1 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.4188, allocations: 244.4 kB / 335.4 MB, free: 8.969 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.4188, allocations: 16.19 kB / 335.4 MB, free: 8.953 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.419, allocations: 19.98 kB / 335.4 MB, free: 8.934 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.4191, allocations: 27.91 kB / 335.4 MB, free: 8.906 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/0.4192, allocations: 39.94 kB / 335.5 MB, free: 8.867 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004437/0.4196, allocations: 390.9 kB / 335.8 MB, free: 8.488 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4196, allocations: 0 / 335.8 MB, free: 8.488 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.4199, allocations: 48 kB / 335.9 MB, free: 8.441 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001678/0.4201, allocations: 115 kB / 336 MB, free: 8.32 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005618/0.4207, allocations: 441.5 kB / 336.4 MB, free: 7.84 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4207, allocations: 0 / 336.4 MB, free: 7.84 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000388/0.4211, allocations: 377.5 kB / 336.8 MB, free: 7.422 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006738/0.4218, allocations: 116.4 kB / 336.9 MB, free: 7.309 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.4231, allocations: 0.7565 MB / 337.7 MB, free: 6.527 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.4236, allocations: 0.7989 MB / 338.5 MB, free: 5.703 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.4237, allocations: 12.64 kB / 338.5 MB, free: 5.684 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.4237, allocations: 11.44 kB / 338.5 MB, free: 5.676 MB / 270.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4237, allocations: 4 kB / 338.5 MB, free: 5.672 MB / 270.1 MB Notification: Performance of Templates: time 0.00768/0.4314, allocations: 4.265 MB / 342.8 MB, free: 1.398 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1)