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.01114/0.01114, allocations: 101 kB / 15.73 MB, free: 6.473 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.002087/0.002087, allocations: 195 kB / 16.67 MB, free: 6.379 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.794/1.794, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.002032/0.002032, allocations: 46.25 kB / 326.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.179, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.004444/0.1836, allocations: 1.517 MB / 374.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.186, allocations: 0.8858 MB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.989e-05/0.1861, allocations: 0 / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.1863, allocations: 15.86 kB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.1864, allocations: 23.84 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.1869, allocations: 51.89 kB / 375.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.1872, allocations: 147.7 kB / 375.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1874, allocations: 23.97 kB / 375.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005784/0.188, allocations: 391.3 kB / 376.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.1882, allocations: 63.77 kB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.1882, allocations: 8 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.8e-05/0.1883, allocations: 12 kB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.1884, allocations: 67.69 kB / 376.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.1886, allocations: 111.2 kB / 376.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.1891, allocations: 358.7 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.1891, allocations: 0 / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.16e-06/0.1891, allocations: 0 / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.1891, allocations: 3.938 kB / 376.8 MB, free: 13.66 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.001132/0.1903, allocations: 0.715 MB / 377.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.1903, allocations: 16.03 kB / 377.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.422e-05/0.1904, allocations: 36.47 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.1908, allocations: 274.3 kB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.1909, allocations: 4.375 kB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.1909, allocations: 12.38 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.1913, allocations: 121.9 kB / 378 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1913, allocations: 0 / 378 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.1913, allocations: 7.938 kB / 378 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1913, allocations: 0 / 378 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.1915, allocations: 59.95 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007117/0.1922, allocations: 468.4 kB / 378.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.1924, allocations: 94.55 kB / 378.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.1926, allocations: 84.88 kB / 378.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1926, allocations: 0 / 378.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004451/0.1931, allocations: 206.6 kB / 378.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1931, allocations: 0 / 378.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008411/0.1939, allocations: 472 kB / 379.3 MB, free: 10.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.1941, allocations: 166.2 kB / 379.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006955/0.1948, allocations: 0.5091 MB / 380 MB, free: 10.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.1948, allocations: 33.7 kB / 380.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.1949, allocations: 97.12 kB / 380.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.195, allocations: 31.56 kB / 380.2 MB, free: 10 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.1951, allocations: 85.41 kB / 380.3 MB, free: 9.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1953, allocations: 322.8 kB / 380.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1954, allocations: 59.97 kB / 380.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1956, allocations: 69.69 kB / 380.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.196, allocations: 343.3 kB / 381 MB, free: 9.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.196, allocations: 0 / 381 MB, free: 9.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005186/0.1965, allocations: 376.4 kB / 381.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.755e-05/0.1966, allocations: 134.8 kB / 381.5 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1966, allocations: 0 / 381.5 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1967, allocations: 0 / 381.5 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.93e-05/0.1967, allocations: 4 kB / 381.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1967, allocations: 0 / 381.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.1968, allocations: 11.98 kB / 381.6 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/0.1969, allocations: 39.94 kB / 381.6 MB, free: 8.457 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.0004262/0.1974, allocations: 374.1 kB / 382 MB, free: 8.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.1974, allocations: 43.53 kB / 382 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.1976, allocations: 71.12 kB / 382.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1976, allocations: 0 / 382.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1976, allocations: 0 / 382.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1976, allocations: 0 / 382.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.1987, allocations: 0.8056 MB / 382.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1987, allocations: 0 / 382.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-06/0.1987, allocations: 0 / 382.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.1987, allocations: 7.922 kB / 382.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.1987, allocations: 15.98 kB / 382.9 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1987, allocations: 4 kB / 382.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1987, allocations: 3.938 kB / 382.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/0.1995, allocations: 0.5177 MB / 383.4 MB, free: 6.465 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.1998, allocations: 244.5 kB / 383.7 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.1999, allocations: 11.98 kB / 383.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.2, allocations: 8 kB / 383.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.2001, allocations: 31.91 kB / 383.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/0.2002, allocations: 40.19 kB / 383.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004882/0.2007, allocations: 386.9 kB / 384.1 MB, free: 5.738 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2007, allocations: 0 / 384.1 MB, free: 5.738 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.201, allocations: 44 kB / 384.2 MB, free: 5.695 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.0001971/0.2012, allocations: 119 kB / 384.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006481/0.2019, allocations: 437.4 kB / 384.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.2019, allocations: 4 kB / 384.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.2023, allocations: 377.6 kB / 385.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000688/0.203, allocations: 133.2 kB / 385.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2043, allocations: 0.6613 MB / 385.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.2048, allocations: 0.8061 MB / 386.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.684e-05/0.2049, allocations: 4.672 kB / 386.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.2049, allocations: 11.44 kB / 386.7 MB, free: 3 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2049, allocations: 4 kB / 386.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of Templates: time 0.008645/0.2135, allocations: 4.372 MB / 391.1 MB, free: 14.62 MB / 334.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)