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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001439/0.001439, allocations: 182.5 kB / 8.349 MB, free: 0.7031 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.378/1.378, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001692/0.001692, allocations: 115.5 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.657e-05/1.658e-05, allocations: 4 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08566/0.0857, allocations: 44.51 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2952/0.3809, allocations: 76.9 MB / 419.5 MB, free: 18.84 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.3812, allocations: 71.22 kB / 419.5 MB, free: 18.8 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0422/0.4234, allocations: 26.8 MB / 446.4 MB, free: 13.43 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4234, allocations: 0 / 446.4 MB, free: 13.43 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.4234, allocations: 4 kB / 446.4 MB, free: 13.42 MB / 331.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.0005971/0.4241, allocations: 0.6129 MB / 447 MB, free: 12.76 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4241, allocations: 8.031 kB / 447 MB, free: 12.75 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.474e-05/0.4242, allocations: 43.53 kB / 447 MB, free: 12.71 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.4246, allocations: 258.8 kB / 447.3 MB, free: 12.43 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.4246, allocations: 11.33 kB / 447.3 MB, free: 12.42 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.4246, allocations: 8 kB / 447.3 MB, free: 12.41 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001339/0.4248, allocations: 59.09 kB / 447.3 MB, free: 12.37 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.425, allocations: 135 kB / 447.5 MB, free: 12.25 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.425, allocations: 0 / 447.5 MB, free: 12.25 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.4251, allocations: 4 kB / 447.5 MB, free: 12.24 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4251, allocations: 3.938 kB / 447.5 MB, free: 12.24 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.4258, allocations: 460.5 kB / 447.9 MB, free: 11.81 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.426, allocations: 97.36 kB / 448 MB, free: 11.73 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.4261, allocations: 86.05 kB / 448.1 MB, free: 11.68 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.4262, allocations: 0 / 448.1 MB, free: 11.68 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.4264, allocations: 222.5 kB / 448.3 MB, free: 11.46 MB / 331.1 MB Notification: Performance of pre-optimization done (n=13): time 2.394e-06/0.4265, allocations: 0 / 448.3 MB, free: 11.46 MB / 331.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006037/0.4271, allocations: 302.4 kB / 448.6 MB, free: 11.2 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.4272, allocations: 165.2 kB / 448.8 MB, free: 11 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/0.4278, allocations: 455.8 kB / 449.2 MB, free: 10.63 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.4279, allocations: 29.7 kB / 449.3 MB, free: 10.59 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.428, allocations: 95.64 kB / 449.4 MB, free: 10.51 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.428, allocations: 45.06 kB / 449.4 MB, free: 10.47 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.428, allocations: 7.312 kB / 449.4 MB, free: 10.46 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4282, allocations: 322.4 kB / 449.7 MB, free: 10.14 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-05/0.4283, allocations: 56.8 kB / 449.8 MB, free: 10.11 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.822e-05/0.4284, allocations: 62.53 kB / 449.8 MB, free: 10.06 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.4285, allocations: 47.28 kB / 449.9 MB, free: 10.03 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4285, allocations: 0 / 449.9 MB, free: 10.03 MB / 331.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000438/0.429, allocations: 287.7 kB / 450.2 MB, free: 9.793 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-05/0.429, allocations: 119.5 kB / 450.3 MB, free: 9.656 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4291, allocations: 4 kB / 450.3 MB, free: 9.652 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4291, allocations: 4 kB / 450.3 MB, free: 9.648 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.934e-05/0.4291, allocations: 7.312 kB / 450.3 MB, free: 9.645 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4291, allocations: 0 / 450.3 MB, free: 9.645 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.4293, allocations: 15.98 kB / 450.3 MB, free: 9.629 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.4294, allocations: 119.8 kB / 450.4 MB, free: 9.512 MB / 331.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.y,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 () * 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.000173/0.4296, allocations: 248.5 kB / 450.7 MB, free: 9.246 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.4296, allocations: 35.62 kB / 450.7 MB, free: 9.211 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.924e-05/0.4298, allocations: 70.73 kB / 450.8 MB, free: 9.145 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4298, allocations: 0 / 450.8 MB, free: 9.145 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4298, allocations: 0 / 450.8 MB, free: 9.145 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4298, allocations: 5.094 kB / 450.8 MB, free: 9.141 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007789/0.4306, allocations: 0.6842 MB / 451.5 MB, free: 8.508 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4306, allocations: 0 / 451.5 MB, free: 8.508 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-06/0.4306, allocations: 0 / 451.5 MB, free: 8.508 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.4306, allocations: 0 / 451.5 MB, free: 8.508 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.4306, allocations: 19.98 kB / 451.5 MB, free: 8.488 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.4306, allocations: 0 / 451.5 MB, free: 8.488 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4307, allocations: 4 kB / 451.5 MB, free: 8.484 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.4312, allocations: 444.7 kB / 451.9 MB, free: 8.09 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.4316, allocations: 255.7 kB / 452.2 MB, free: 7.863 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.4317, allocations: 15.61 kB / 452.2 MB, free: 7.852 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.4318, allocations: 10.34 kB / 452.2 MB, free: 7.844 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.4319, allocations: 35.08 kB / 452.2 MB, free: 7.816 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.432, allocations: 115.9 kB / 452.3 MB, free: 7.703 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0003787/0.4324, allocations: 379.3 kB / 452.7 MB, free: 7.395 MB / 331.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4324, allocations: 0 / 452.7 MB, free: 7.395 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.4327, allocations: 40 kB / 452.8 MB, free: 7.355 MB / 331.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) * 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.0001447/0.4329, allocations: 110.6 kB / 452.9 MB, free: 7.242 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.4333, allocations: 430.9 kB / 453.3 MB, free: 6.863 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4333, allocations: 0 / 453.3 MB, free: 6.863 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/0.4337, allocations: 369.6 kB / 453.6 MB, free: 6.531 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.4342, allocations: 113 kB / 453.8 MB, free: 6.438 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.435, allocations: 0.5243 MB / 454.3 MB, free: 5.945 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.4355, allocations: 0.8018 MB / 455.1 MB, free: 5.129 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.4355, allocations: 13.25 kB / 455.1 MB, free: 5.117 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.4356, allocations: 11.44 kB / 455.1 MB, free: 5.105 MB / 331.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4356, allocations: 0 / 455.1 MB, free: 5.105 MB / 331.1 MB Notification: Performance of Templates: time 0.008549/0.4441, allocations: 5.462 MB / 460.6 MB, free: 15.6 MB / 347.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)