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.001412/0.001412, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001234/0.001234, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.858/1.858, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001651/0.001652, allocations: 51.92 kB / 280 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1296, allocations: 46.62 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.005067/0.1348, allocations: 1.513 MB / 328.1 MB, free: 2.938 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.1373, allocations: 0.8935 MB / 329 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.198e-05/0.1374, allocations: 0 / 329 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1376, allocations: 19.86 kB / 329 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.35e-05/0.1377, allocations: 19.86 kB / 329.1 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.138, allocations: 47.88 kB / 329.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.1382, allocations: 139.7 kB / 329.2 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1383, allocations: 31.98 kB / 329.3 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000473/0.1388, allocations: 371.3 kB / 329.6 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1389, allocations: 67.69 kB / 329.7 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.139, allocations: 12 kB / 329.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.708e-05/0.139, allocations: 8 kB / 329.7 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1392, allocations: 63.77 kB / 329.8 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.1393, allocations: 115.1 kB / 329.9 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.1397, allocations: 346.8 kB / 330.2 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1397, allocations: 4 kB / 330.2 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1397, allocations: 0 / 330.2 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1397, allocations: 3.984 kB / 330.2 MB, free: 0.8086 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.0009456/0.1407, allocations: 0.7191 MB / 331 MB, free: 16 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.811e-05/0.1408, allocations: 12.02 kB / 331 MB, free: 4 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.1409, allocations: 40.52 kB / 331 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.1413, allocations: 266.3 kB / 331.3 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.1414, allocations: 12.36 kB / 331.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.1414, allocations: 4.375 kB / 331.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.1418, allocations: 129.9 kB / 331.4 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1419, allocations: 0 / 331.4 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.1419, allocations: 12 kB / 331.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1419, allocations: 0 / 331.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.1421, allocations: 55.97 kB / 331.5 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008552/0.143, allocations: 456.6 kB / 331.9 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.1432, allocations: 98.48 kB / 332 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.1434, allocations: 84.89 kB / 332.1 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.1434, allocations: 0 / 332.1 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004907/0.1439, allocations: 202.6 kB / 332.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1439, allocations: 0 / 332.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007827/0.1447, allocations: 459.9 kB / 332.8 MB, free: 14.06 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.1448, allocations: 170.3 kB / 332.9 MB, free: 13.86 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/0.1455, allocations: 0.5245 MB / 333.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.1455, allocations: 29.7 kB / 333.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/0.1456, allocations: 101.1 kB / 333.6 MB, free: 13.19 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.1457, allocations: 31.64 kB / 333.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.1458, allocations: 77.41 kB / 333.7 MB, free: 13.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.146, allocations: 326.8 kB / 334 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1461, allocations: 63.84 kB / 334.1 MB, free: 12.68 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1462, allocations: 69.75 kB / 334.1 MB, free: 12.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.1466, allocations: 351.7 kB / 334.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1466, allocations: 0 / 334.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005377/0.1471, allocations: 388.3 kB / 334.9 MB, free: 11.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.824e-05/0.1472, allocations: 122.8 kB / 335 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1472, allocations: 0 / 335 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1473, allocations: 0 / 335 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-05/0.1473, allocations: 0 / 335 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1473, allocations: 0 / 335 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.1475, allocations: 24.02 kB / 335 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/0.1475, allocations: 36 kB / 335 MB, free: 11.6 MB / 286.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.0003369/0.1479, allocations: 366.2 kB / 335.4 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.1479, allocations: 31.62 kB / 335.4 MB, free: 11.17 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.809e-05/0.148, allocations: 71.14 kB / 335.5 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.148, allocations: 0 / 335.5 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.148, allocations: 3.938 kB / 335.5 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1481, allocations: 0 / 335.5 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009612/0.149, allocations: 0.8094 MB / 336.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.149, allocations: 0 / 336.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.149, allocations: 0 / 336.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.149, allocations: 0 / 336.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.1491, allocations: 12 kB / 336.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1491, allocations: 0 / 336.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.1491, allocations: 11.92 kB / 336.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006796/0.1498, allocations: 0.5213 MB / 336.8 MB, free: 9.617 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/0.1502, allocations: 248.3 kB / 337.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.1502, allocations: 15.94 kB / 337.1 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.1504, allocations: 11.98 kB / 337.1 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.1505, allocations: 31.91 kB / 337.2 MB, free: 9.297 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.1505, allocations: 40.12 kB / 337.2 MB, free: 9.258 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004421/0.151, allocations: 390.9 kB / 337.6 MB, free: 8.875 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.151, allocations: 0 / 337.6 MB, free: 8.875 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1513, allocations: 40 kB / 337.6 MB, free: 8.836 MB / 286.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.00014/0.1514, allocations: 123 kB / 337.7 MB, free: 8.707 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004926/0.1519, allocations: 433.5 kB / 338.2 MB, free: 8.234 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1519, allocations: 0 / 338.2 MB, free: 8.234 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.1523, allocations: 373.6 kB / 338.5 MB, free: 7.82 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.1529, allocations: 122.5 kB / 338.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.154, allocations: 0.6499 MB / 339.3 MB, free: 7.023 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.1546, allocations: 0.8136 MB / 340.1 MB, free: 6.18 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.053e-05/0.1547, allocations: 12.64 kB / 340.1 MB, free: 6.164 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.1547, allocations: 11.44 kB / 340.1 MB, free: 6.152 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1547, allocations: 3.938 kB / 340.1 MB, free: 6.148 MB / 286.1 MB Notification: Performance of Templates: time 0.008652/0.1634, allocations: 4.378 MB / 344.5 MB, free: 1.777 MB / 286.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)