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.009572/0.009571, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.00142/0.00142, allocations: 188.4 kB / 16.67 MB, free: 5.422 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.81/1.81, allocations: 205.1 MB / 222.5 MB, free: 12.2 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.001294/0.001294, allocations: 55.94 kB / 326.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1233, allocations: 46.61 MB / 373.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003264/0.1266, allocations: 1.516 MB / 374.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.1288, allocations: 0.9011 MB / 375.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.1289, allocations: 0 / 375.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.265e-05/0.129, allocations: 7.938 kB / 375.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.888e-05/0.1291, allocations: 23.78 kB / 375.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.1294, allocations: 39.95 kB / 375.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.1298, allocations: 159.7 kB / 375.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1299, allocations: 23.97 kB / 375.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/0.1304, allocations: 387.3 kB / 376.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1305, allocations: 63.7 kB / 376.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.1306, allocations: 8 kB / 376.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.068e-05/0.1306, allocations: 12 kB / 376.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1307, allocations: 59.77 kB / 376.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1309, allocations: 123.1 kB / 376.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.1313, allocations: 350.8 kB / 376.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1313, allocations: 0 / 376.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1313, allocations: 0 / 376.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1313, allocations: 4 kB / 376.8 MB, free: 0.8867 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.0008756/0.1322, allocations: 0.7227 MB / 377.5 MB, free: 92 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1322, allocations: 8.031 kB / 377.5 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.214e-05/0.1323, allocations: 36.56 kB / 377.6 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2238/0.3561, allocations: 269.4 kB / 377.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/0.3562, allocations: 7.531 kB / 377.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.3563, allocations: 12 kB / 377.9 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.3567, allocations: 122.6 kB / 378 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3567, allocations: 0 / 378 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.3568, allocations: 7.766 kB / 378 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3568, allocations: 1.219 kB / 378 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.3569, allocations: 60.27 kB / 378 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009452/0.3579, allocations: 453.3 kB / 378.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.3581, allocations: 100.8 kB / 378.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.3583, allocations: 84.33 kB / 378.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.3583, allocations: 5.031 kB / 378.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004853/0.3588, allocations: 201.2 kB / 378.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.954e-06/0.3588, allocations: 0 / 378.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008069/0.3597, allocations: 473.2 kB / 379.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.3597, allocations: 167.2 kB / 379.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007286/0.3605, allocations: 0.5153 MB / 380 MB, free: 12.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.3605, allocations: 29.39 kB / 380 MB, free: 11.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.3606, allocations: 98.67 kB / 380.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.3606, allocations: 38.41 kB / 380.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.3608, allocations: 80.48 kB / 380.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.82e-05/0.3609, allocations: 322.3 kB / 380.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.361, allocations: 58.34 kB / 380.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.3612, allocations: 72.67 kB / 380.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.3616, allocations: 342.9 kB / 381 MB, free: 11.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3616, allocations: 0.5 kB / 381 MB, free: 11.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006086/0.3622, allocations: 372.9 kB / 381.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.522e-05/0.3623, allocations: 128.1 kB / 381.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3623, allocations: 3.281 kB / 381.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3623, allocations: 1.125 kB / 381.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-05/0.3624, allocations: 4.578 kB / 381.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3624, allocations: 1.156 kB / 381.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.3625, allocations: 11.31 kB / 381.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.3626, allocations: 45.83 kB / 381.6 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.0003135/0.3629, allocations: 365.5 kB / 381.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.363, allocations: 48.48 kB / 382 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.3631, allocations: 63.94 kB / 382 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3631, allocations: 1.312 kB / 382 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3631, allocations: 0 / 382 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3631, allocations: 4.297 kB / 382.1 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/0.3641, allocations: 0.8107 MB / 382.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3641, allocations: 0 / 382.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-06/0.3641, allocations: 1.188 kB / 382.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3641, allocations: 0 / 382.9 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.3642, allocations: 17 kB / 382.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3642, allocations: 1.344 kB / 382.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3642, allocations: 0.9844 kB / 382.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.3648, allocations: 0.5204 MB / 383.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.3652, allocations: 250.7 kB / 383.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.3652, allocations: 11.72 kB / 383.7 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3654, allocations: 10.06 kB / 383.7 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.3655, allocations: 20.44 kB / 383.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/0.3656, allocations: 53.3 kB / 383.7 MB, free: 9.391 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004713/0.3661, allocations: 388.7 kB / 384.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3661, allocations: 0 / 384.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.3664, allocations: 41.22 kB / 384.2 MB, free: 9.188 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.0001536/0.3665, allocations: 121.5 kB / 384.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004825/0.367, allocations: 442.4 kB / 384.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.367, allocations: 3.938 kB / 384.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.3673, allocations: 372.5 kB / 385.1 MB, free: 8.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.3679, allocations: 124.5 kB / 385.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3692, allocations: 0.6661 MB / 385.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.3696, allocations: 0.799 MB / 386.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.434e-05/0.3696, allocations: 9.531 kB / 386.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.3697, allocations: 11.94 kB / 386.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3697, allocations: 0 / 386.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of Templates: time 0.01177/0.3814, allocations: 4.38 MB / 391.1 MB, free: 6.832 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.makefile (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)