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.01109/0.01109, allocations: 96.89 kB / 15.73 MB, free: 6.496 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.002023/0.002023, allocations: 192.1 kB / 16.67 MB, free: 6.391 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.836/1.836, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001355/0.001355, allocations: 50.92 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.136, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003115/0.1391, allocations: 1.502 MB / 374.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1412, allocations: 0.8976 MB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.1413, allocations: 3.938 kB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.1414, allocations: 7.938 kB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.631e-05/0.1415, allocations: 15.86 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.1418, allocations: 47.88 kB / 375.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.1421, allocations: 159.7 kB / 375.8 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1422, allocations: 19.97 kB / 375.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004505/0.1427, allocations: 379.3 kB / 376.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1429, allocations: 55.78 kB / 376.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.1429, allocations: 11.94 kB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.935e-05/0.143, allocations: 16 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1431, allocations: 71.62 kB / 376.3 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1432, allocations: 107.2 kB / 376.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.1436, allocations: 362.4 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1436, allocations: 0 / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1436, allocations: 0 / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.1436, allocations: 0 / 376.8 MB, free: 13.67 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.0008075/0.1445, allocations: 0.7305 MB / 377.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1445, allocations: 12.03 kB / 377.5 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.678e-05/0.1446, allocations: 36.7 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.145, allocations: 282.6 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.145, allocations: 4.375 kB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.145, allocations: 12.38 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.1454, allocations: 129.9 kB / 378 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1454, allocations: 0 / 378 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.1454, allocations: 4 kB / 378 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1454, allocations: 0 / 378 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.1456, allocations: 55.97 kB / 378.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/0.1463, allocations: 464.5 kB / 378.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.1465, allocations: 98.55 kB / 378.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1466, allocations: 76.89 kB / 378.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.1467, allocations: 0 / 378.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003466/0.147, allocations: 206.6 kB / 378.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.147, allocations: 4 kB / 378.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007728/0.1478, allocations: 472.3 kB / 379.3 MB, free: 10.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.1479, allocations: 166.2 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.1485, allocations: 0.5129 MB / 380 MB, free: 10.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.1486, allocations: 33.7 kB / 380.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.1486, allocations: 101.1 kB / 380.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.1487, allocations: 35.73 kB / 380.2 MB, free: 9.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.1488, allocations: 81.55 kB / 380.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1489, allocations: 330.8 kB / 380.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1491, allocations: 55.97 kB / 380.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.1492, allocations: 69.69 kB / 380.7 MB, free: 9.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.1495, allocations: 339.2 kB / 381 MB, free: 9.051 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1495, allocations: 112 / 381 MB, free: 9.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004933/0.15, allocations: 376.3 kB / 381.4 MB, free: 8.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/0.1501, allocations: 131.9 kB / 381.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1501, allocations: 4.156 kB / 381.5 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1502, allocations: 4 kB / 381.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.532e-05/0.1502, allocations: 7.938 kB / 381.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1502, allocations: 3.938 kB / 381.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.1503, allocations: 11.98 kB / 381.6 MB, free: 8.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/0.1504, allocations: 39.94 kB / 381.6 MB, free: 8.43 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.0003499/0.1508, allocations: 370.2 kB / 382 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.1508, allocations: 39.77 kB / 382 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.1509, allocations: 71.14 kB / 382.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.1509, allocations: 0 / 382.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1509, allocations: 0 / 382.1 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.151, allocations: 3.984 kB / 382.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009494/0.1519, allocations: 0.8095 MB / 382.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1519, allocations: 3.984 kB / 382.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-06/0.1519, allocations: 0 / 382.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1519, allocations: 0 / 382.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.152, allocations: 12 kB / 382.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.152, allocations: 0 / 382.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.152, allocations: 7.938 kB / 382.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.1527, allocations: 0.518 MB / 383.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.153, allocations: 248.6 kB / 383.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.349e-05/0.1531, allocations: 12 kB / 383.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1532, allocations: 7.984 kB / 383.7 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.1534, allocations: 27.92 kB / 383.7 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/0.1534, allocations: 39.98 kB / 383.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004707/0.1539, allocations: 386.9 kB / 384.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1539, allocations: 0 / 384.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1542, allocations: 48 kB / 384.2 MB, free: 5.672 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.0001661/0.1544, allocations: 127 kB / 384.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005667/0.1549, allocations: 433.5 kB / 384.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.155, allocations: 4 kB / 384.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.1553, allocations: 373.5 kB / 385.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.1559, allocations: 129.3 kB / 385.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1571, allocations: 0.6608 MB / 385.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.1576, allocations: 0.8061 MB / 386.7 MB, free: 3 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.859e-05/0.1577, allocations: 8.656 kB / 386.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.1577, allocations: 11.44 kB / 386.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1577, allocations: 0 / 386.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of Templates: time 0.008869/0.1666, allocations: 4.388 MB / 391.1 MB, free: 14.58 MB / 334.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)