Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001196/0.001203, allocations: 100 kB / 15.05 MB, free: 1.105 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.001394/0.001394, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0005887/0.0005888, allocations: 15.98 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3795, allocations: 47.58 MB / 326.4 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00154/0.381, allocations: 1.207 MB / 327.6 MB, free: 452 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3828, allocations: 0.8491 MB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.3829, allocations: 0 / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.564e-05/0.383, allocations: 7.922 kB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.3831, allocations: 15.66 kB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.3833, allocations: 41.2 kB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3835, allocations: 77 kB / 328.6 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3836, allocations: 7.625 kB / 328.6 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004478/0.384, allocations: 287.8 kB / 328.9 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.3842, allocations: 73.34 kB / 329 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.3842, allocations: 2.844 kB / 329 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.706e-05/0.3843, allocations: 4.375 kB / 329 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3844, allocations: 59.77 kB / 329.1 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.449e-05/0.3845, allocations: 76.48 kB / 329.1 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.3848, allocations: 276.9 kB / 329.4 MB, free: 15.27 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3848, allocations: 0.9375 kB / 329.4 MB, free: 15.27 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3848, allocations: 0 / 329.4 MB, free: 15.27 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3848, allocations: 0 / 329.4 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.0007128/0.3855, allocations: 0.6688 MB / 330.1 MB, free: 14.6 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3856, allocations: 13.23 kB / 330.1 MB, free: 14.6 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.851e-05/0.3857, allocations: 38.19 kB / 330.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.3861, allocations: 257 kB / 330.4 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.3861, allocations: 9.094 kB / 330.4 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.3862, allocations: 15.14 kB / 330.4 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.3865, allocations: 117.6 kB / 330.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3866, allocations: 1.156 kB / 330.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.3866, allocations: 7.219 kB / 330.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3866, allocations: 1.125 kB / 330.5 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.3868, allocations: 59.19 kB / 330.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.3875, allocations: 458.4 kB / 331 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.3877, allocations: 102.3 kB / 331.1 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.3877, allocations: 1.125 kB / 331.1 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.3881, allocations: 211.1 kB / 331.3 MB, free: 13.54 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3881, allocations: 0 / 331.3 MB, free: 13.54 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.000996/0.3891, allocations: 0.6129 MB / 331.9 MB, free: 13.06 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001885/0.3893, allocations: 164.3 kB / 332.1 MB, free: 12.87 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/0.39, allocations: 0.5173 MB / 332.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.3901, allocations: 29.89 kB / 332.7 MB, free: 12.49 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.3901, allocations: 101.5 kB / 332.8 MB, free: 12.39 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.3902, allocations: 30.05 kB / 332.8 MB, free: 12.37 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.3902, allocations: 4.312 kB / 332.8 MB, free: 12.37 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3903, allocations: 324.9 kB / 333.1 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3905, allocations: 58.5 kB / 333.2 MB, free: 12.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3906, allocations: 70.91 kB / 333.2 MB, free: 11.98 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.3908, allocations: 169.2 kB / 333.4 MB, free: 11.82 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3908, allocations: 0 / 333.4 MB, free: 11.82 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005337/0.3913, allocations: 370.7 kB / 333.8 MB, free: 11.57 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.3915, allocations: 125.3 kB / 333.9 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3915, allocations: 1.469 kB / 333.9 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3915, allocations: 3.984 kB / 333.9 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.659e-05/0.3915, allocations: 1.125 kB / 333.9 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3915, allocations: 9.016 kB / 333.9 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.3917, allocations: 10.34 kB / 333.9 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/0.3918, allocations: 37.41 kB / 333.9 MB, free: 11.43 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003534/0.3922, allocations: 365.4 kB / 334.3 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.3922, allocations: 46.89 kB / 334.3 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.3923, allocations: 67.48 kB / 334.4 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3923, allocations: 1.469 kB / 334.4 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3924, allocations: 0 / 334.4 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3924, allocations: 1.469 kB / 334.4 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009888/0.3934, allocations: 0.814 MB / 335.2 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3934, allocations: 0 / 335.2 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-06/0.3934, allocations: 4 kB / 335.2 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3934, allocations: 4 kB / 335.2 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.3934, allocations: 12.17 kB / 335.2 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3934, allocations: 4 kB / 335.3 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3935, allocations: 0 / 335.3 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.3941, allocations: 0.5177 MB / 335.8 MB, free: 9.613 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.3944, allocations: 248.5 kB / 336 MB, free: 9.352 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.697e-05/0.3945, allocations: 12 kB / 336 MB, free: 9.34 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3946, allocations: 12 kB / 336 MB, free: 9.328 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.3947, allocations: 27.97 kB / 336.1 MB, free: 9.301 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.3948, allocations: 43.92 kB / 336.1 MB, free: 9.258 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004298/0.3952, allocations: 382.9 kB / 336.5 MB, free: 8.887 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3952, allocations: 0 / 336.5 MB, free: 8.887 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000284/0.3955, allocations: 51.91 kB / 336.5 MB, free: 8.836 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.3957, allocations: 122.9 kB / 336.6 MB, free: 8.707 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005439/0.3962, allocations: 429.5 kB / 337.1 MB, free: 8.238 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3962, allocations: 4.062 kB / 337.1 MB, free: 8.234 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.3966, allocations: 373.5 kB / 337.4 MB, free: 7.82 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.3971, allocations: 109.4 kB / 337.5 MB, free: 7.711 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.3984, allocations: 0.7387 MB / 338.3 MB, free: 6.949 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.3989, allocations: 0.8141 MB / 339.1 MB, free: 6.109 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.3989, allocations: 8.656 kB / 339.1 MB, free: 6.094 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.399, allocations: 11.44 kB / 339.1 MB, free: 6.086 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.399, allocations: 4 kB / 339.1 MB, free: 6.082 MB / 270.1 MB Notification: Performance of Templates: time 0.007063/0.406, allocations: 3.749 MB / 342.9 MB, free: 2.328 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) Environment - environmentSimulation: