Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001668/0.001668, allocations: 105.2 kB / 17.06 MB, free: 6.027 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.001739/0.001739, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001562/0.001562, allocations: 47.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1554, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00311/0.1586, allocations: 1.516 MB / 376 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.1608, allocations: 0.8894 MB / 376.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.1609, allocations: 4 kB / 376.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.161, allocations: 15.86 kB / 376.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.1611, allocations: 15.84 kB / 376.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.1615, allocations: 43.89 kB / 377 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.1617, allocations: 159.7 kB / 377.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1619, allocations: 20 kB / 377.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004938/0.1624, allocations: 383.3 kB / 377.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1625, allocations: 67.7 kB / 377.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.1626, allocations: 8 kB / 377.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.116e-05/0.1626, allocations: 12 kB / 377.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.795e-05/0.1627, allocations: 63.7 kB / 377.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1628, allocations: 115.2 kB / 377.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.1632, allocations: 358.7 kB / 378.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.1633, allocations: 3.984 kB / 378.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1633, allocations: 7.938 kB / 378.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1633, allocations: 0 / 378.1 MB, free: 0.8945 MB / 318.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.0008172/0.1641, allocations: 0.7189 MB / 378.9 MB, free: 104 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1642, allocations: 8.031 kB / 378.9 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.1642, allocations: 36.56 kB / 378.9 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2679/0.4321, allocations: 269.8 kB / 379.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.4322, allocations: 9.625 kB / 379.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.4323, allocations: 8.75 kB / 379.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.4327, allocations: 121.4 kB / 379.3 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4327, allocations: 0.9062 kB / 379.3 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.4327, allocations: 4.922 kB / 379.3 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.4328, allocations: 3.75 kB / 379.3 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.4329, allocations: 60.2 kB / 379.4 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008476/0.4338, allocations: 455.8 kB / 379.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.434, allocations: 96.86 kB / 379.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.4342, allocations: 81.53 kB / 380 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.4342, allocations: 10.05 kB / 380 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005689/0.4348, allocations: 197.6 kB / 380.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.907e-06/0.4348, allocations: 0 / 380.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009187/0.4357, allocations: 466.4 kB / 380.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.4358, allocations: 170.6 kB / 380.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/0.4367, allocations: 0.515 MB / 381.3 MB, free: 12.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.4367, allocations: 30.61 kB / 381.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.4368, allocations: 98.47 kB / 381.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.4369, allocations: 34.7 kB / 381.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.4371, allocations: 80.84 kB / 381.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4372, allocations: 327.9 kB / 381.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.4374, allocations: 54.3 kB / 381.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.4375, allocations: 73.47 kB / 382 MB, free: 11.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.4379, allocations: 345.2 kB / 382.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.438, allocations: 0.625 kB / 382.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006916/0.4386, allocations: 371.3 kB / 382.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.4388, allocations: 132.3 kB / 382.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.4388, allocations: 0 / 382.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.4388, allocations: 5.656 kB / 382.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.598e-05/0.4389, allocations: 5.672 kB / 382.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.4389, allocations: 1.031 kB / 382.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.439, allocations: 11.44 kB / 382.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/0.4391, allocations: 38.42 kB / 382.9 MB, free: 10.88 MB / 318.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.0004463/0.4396, allocations: 366.3 kB / 383.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.4397, allocations: 43.73 kB / 383.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.4398, allocations: 68.8 kB / 383.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4398, allocations: 2.875 kB / 383.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4398, allocations: 0 / 383.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4398, allocations: 1.078 kB / 383.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.441, allocations: 0.8098 MB / 384.2 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.441, allocations: 0 / 384.2 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-06/0.441, allocations: 0 / 384.2 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.441, allocations: 2.703 kB / 384.2 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.4411, allocations: 14.22 kB / 384.2 MB, free: 9.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4411, allocations: 0.6094 kB / 384.2 MB, free: 9.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4411, allocations: 1.188 kB / 384.2 MB, free: 9.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.4418, allocations: 0.5237 MB / 384.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.4422, allocations: 249.1 kB / 385 MB, free: 9.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.008e-05/0.4422, allocations: 12.03 kB / 385 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.4424, allocations: 9.641 kB / 385 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.4425, allocations: 24.42 kB / 385 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/0.4426, allocations: 43.94 kB / 385.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006312/0.4432, allocations: 390.7 kB / 385.4 MB, free: 9.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.222e-06/0.4433, allocations: 0 / 385.4 MB, free: 9.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003296/0.4436, allocations: 54.3 kB / 385.5 MB, free: 9.164 MB / 318.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.0001923/0.4438, allocations: 116.9 kB / 385.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005656/0.4444, allocations: 436.4 kB / 386 MB, free: 8.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4444, allocations: 3.781 kB / 386 MB, free: 8.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.4448, allocations: 380 kB / 386.4 MB, free: 8.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.4456, allocations: 123.2 kB / 386.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.447, allocations: 0.6574 MB / 387.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.4475, allocations: 0.8041 MB / 388 MB, free: 7.246 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.4475, allocations: 5.984 kB / 388 MB, free: 7.242 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.4476, allocations: 11.41 kB / 388 MB, free: 7.234 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4476, allocations: 0 / 388 MB, free: 7.234 MB / 318.1 MB Notification: Performance of Templates: time 0.01256/0.4601, allocations: 4.47 MB / 392.5 MB, free: 6.801 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1)