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.001664/0.001664, allocations: 111.8 kB / 17.06 MB, free: 6.113 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.002019/0.00202, allocations: 195.9 kB / 18 MB, free: 5.191 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.823/1.823, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.001296/0.001296, allocations: 55.86 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1281, allocations: 46.61 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003722/0.1319, allocations: 1.517 MB / 376 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.1343, allocations: 0.8933 MB / 376.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.1344, allocations: 4 kB / 376.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.1345, allocations: 11.86 kB / 376.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.547e-05/0.1346, allocations: 19.84 kB / 376.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.135, allocations: 51.89 kB / 377 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.1354, allocations: 143.7 kB / 377.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1355, allocations: 27.98 kB / 377.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004801/0.136, allocations: 371.3 kB / 377.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.1362, allocations: 63.7 kB / 377.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.1362, allocations: 12 kB / 377.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.864e-05/0.1362, allocations: 8 kB / 377.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1364, allocations: 63.77 kB / 377.6 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.1365, allocations: 119.1 kB / 377.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.1369, allocations: 354.8 kB / 378.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.137, allocations: 0 / 378.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.137, allocations: 4 kB / 378.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.137, allocations: 0 / 378.1 MB, free: 0.918 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.0009198/0.1379, allocations: 0.7305 MB / 378.8 MB, free: 116 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.138, allocations: 8.031 kB / 378.9 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.797e-05/0.1381, allocations: 36.56 kB / 378.9 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2798/0.4178, allocations: 269.1 kB / 379.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.418, allocations: 4.625 kB / 379.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.418, allocations: 8.594 kB / 379.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.4184, allocations: 123.1 kB / 379.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.4184, allocations: 4.469 kB / 379.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.4185, allocations: 5.125 kB / 379.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4185, allocations: 5.781 kB / 379.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.4187, allocations: 62.11 kB / 379.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.4198, allocations: 449.2 kB / 379.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.4201, allocations: 100.2 kB / 379.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.4203, allocations: 82.56 kB / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.4203, allocations: 5.781 kB / 380 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005991/0.4209, allocations: 201.1 kB / 380.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.296e-06/0.4209, allocations: 0 / 380.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001225/0.4222, allocations: 465.9 kB / 380.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.4223, allocations: 167.4 kB / 380.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008987/0.4232, allocations: 0.5127 MB / 381.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.4232, allocations: 32.91 kB / 381.3 MB, free: 12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.4233, allocations: 97.91 kB / 381.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.4234, allocations: 36.47 kB / 381.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.4235, allocations: 82.73 kB / 381.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4237, allocations: 322.6 kB / 381.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.4238, allocations: 63.66 kB / 381.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.424, allocations: 70.62 kB / 382 MB, free: 11.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.4244, allocations: 344 kB / 382.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4244, allocations: 0.5 kB / 382.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006451/0.4251, allocations: 371.3 kB / 382.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.4252, allocations: 128.3 kB / 382.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4252, allocations: 6.969 kB / 382.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.4252, allocations: 3.938 kB / 382.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-05/0.4253, allocations: 1.797 kB / 382.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4253, allocations: 1.219 kB / 382.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.4254, allocations: 14.05 kB / 382.9 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/0.4255, allocations: 38.53 kB / 382.9 MB, free: 10.9 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.0004095/0.4259, allocations: 361.1 kB / 383.2 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/0.426, allocations: 44.25 kB / 383.3 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.4262, allocations: 69.8 kB / 383.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4262, allocations: 1.344 kB / 383.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4262, allocations: 0 / 383.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4262, allocations: 3.953 kB / 383.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.4273, allocations: 0.8089 MB / 384.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4273, allocations: 1.922 kB / 384.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-06/0.4273, allocations: 2.938 kB / 384.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4274, allocations: 1.156 kB / 384.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.4274, allocations: 15.27 kB / 384.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4274, allocations: 0 / 384.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4274, allocations: 1.703 kB / 384.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.4281, allocations: 0.5327 MB / 384.7 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/0.4285, allocations: 244.3 kB / 385 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.05e-05/0.4286, allocations: 11.44 kB / 385 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.4287, allocations: 9.891 kB / 385 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.4289, allocations: 24.52 kB / 385 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.4289, allocations: 46.62 kB / 385.1 MB, free: 9.398 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006045/0.4295, allocations: 389.1 kB / 385.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4296, allocations: 3.172 kB / 385.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.4299, allocations: 44.62 kB / 385.5 MB, free: 9.191 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.0001601/0.4301, allocations: 122.6 kB / 385.6 MB, free: 9.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006528/0.4307, allocations: 438.8 kB / 386 MB, free: 8.746 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4308, allocations: 0 / 386 MB, free: 8.746 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.4311, allocations: 377.8 kB / 386.4 MB, free: 8.414 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007722/0.4319, allocations: 119.6 kB / 386.5 MB, free: 8.387 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.4335, allocations: 0.6575 MB / 387.2 MB, free: 8.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.434, allocations: 0.8038 MB / 388 MB, free: 7.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.4342, allocations: 6.125 kB / 388 MB, free: 7.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.4342, allocations: 10.69 kB / 388 MB, free: 7.258 MB / 318.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4342, allocations: 1.094 kB / 388 MB, free: 7.258 MB / 318.1 MB Notification: Performance of Templates: time 0.01206/0.4463, allocations: 4.379 MB / 392.4 MB, free: 6.848 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)