Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.001111, allocations: 95.45 kB / 16.93 MB, free: 5.98 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.001067/0.001067, allocations: 180.3 kB / 17.82 MB, free: 5.652 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.56/1.56, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004805/0.0004807, allocations: 12 kB / 280.8 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1238, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002479/0.1263, allocations: 2.151 MB / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1288, allocations: 1.233 MB / 331.8 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.129, allocations: 4 kB / 331.8 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.1291, allocations: 51.61 kB / 331.9 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1293, allocations: 67.75 kB / 331.9 MB, free: 480 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.1298, allocations: 147.7 kB / 332.1 MB, free: 332 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.1309, allocations: 1.071 MB / 333.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008648/0.1318, allocations: 0.7116 MB / 333.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.133, allocations: 0.9275 MB / 334.8 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000984/0.134, allocations: 0.9588 MB / 335.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.1342, allocations: 40 kB / 335.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.1344, allocations: 40 kB / 335.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005292/0.135, allocations: 454.8 kB / 336.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.1352, allocations: 277 kB / 336.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.1381, allocations: 3.768 MB / 340.3 MB, free: 8.051 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1381, allocations: 4 kB / 340.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1382, allocations: 0 / 340.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.199e-05/0.1382, allocations: 0 / 340.3 MB, free: 8.047 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.003121/0.1413, allocations: 1.697 MB / 342 MB, free: 6.285 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.1414, allocations: 8.031 kB / 342 MB, free: 6.277 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004246/0.1418, allocations: 198.1 kB / 342.2 MB, free: 6.074 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004175/0.1423, allocations: 173.9 kB / 342.4 MB, free: 5.902 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.1444, allocations: 1.03 MB / 343.4 MB, free: 4.832 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.1446, allocations: 114.5 kB / 343.5 MB, free: 4.719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/0.1449, allocations: 120 kB / 343.6 MB, free: 4.602 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00443/0.1493, allocations: 2.27 MB / 345.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.1494, allocations: 0 / 345.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002324/0.1496, allocations: 52 kB / 345.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.1497, allocations: 39.98 kB / 346 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003811/0.1535, allocations: 2.001 MB / 348 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009375/0.1629, allocations: 4.781 MB / 352.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003588/0.1665, allocations: 1.902 MB / 354.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.1667, allocations: 13.31 kB / 354.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002049/0.1688, allocations: 1.359 MB / 356 MB, free: 8.066 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.136e-06/0.1688, allocations: 0 / 356 MB, free: 8.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005137/0.1739, allocations: 2.696 MB / 358.7 MB, free: 5.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/0.1741, allocations: 90.42 kB / 358.8 MB, free: 5.254 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.1757, allocations: 0.9407 MB / 359.8 MB, free: 4.305 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003359/0.1761, allocations: 97.59 kB / 359.9 MB, free: 4.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004821/0.1766, allocations: 417.3 kB / 360.3 MB, free: 3.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/0.177, allocations: 312.3 kB / 360.6 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.1772, allocations: 35.98 kB / 360.6 MB, free: 3.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.1774, allocations: 402.7 kB / 361 MB, free: 3.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.179, allocations: 0.8666 MB / 361.9 MB, free: 2.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.1807, allocations: 1.047 MB / 362.9 MB, free: 1.086 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.1824, allocations: 1.03 MB / 363.9 MB, free: 48 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.1824, allocations: 0 / 363.9 MB, free: 48 kB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00415/0.1865, allocations: 2.413 MB / 366.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/0.1866, allocations: 37.69 kB / 366.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.1867, allocations: 7.984 kB / 366.4 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/0.1867, allocations: 11.95 kB / 366.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.1872, allocations: 227.6 kB / 366.6 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.1872, allocations: 15.98 kB / 366.7 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.1885, allocations: 187.3 kB / 366.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/0.1896, allocations: 1.096 MB / 367.9 MB, free: 12.04 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].And1.y,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].And1.y,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].And1.y,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].And1.y,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,$PRE.Counter.FF[4].Not1.auxiliary,Enable.y,$PRE.Clock.t_i,Clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * 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.001706/0.1913, allocations: 0.8963 MB / 368.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.1917, allocations: 102.8 kB / 368.9 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.192, allocations: 130.3 kB / 369.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.192, allocations: 12 kB / 369.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.192, allocations: 7.953 kB / 369.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.1921, allocations: 7.969 kB / 369.1 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.1947, allocations: 1.755 MB / 370.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1947, allocations: 0 / 370.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.1951, allocations: 207.7 kB / 371 MB, free: 8.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.1951, allocations: 4 kB / 371 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002469/0.1954, allocations: 175.9 kB / 371.2 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/0.1954, allocations: 8.031 kB / 371.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1954, allocations: 7.984 kB / 371.2 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.199, allocations: 2.049 MB / 373.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/0.2005, allocations: 0.6479 MB / 373.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004537/0.201, allocations: 115.9 kB / 374 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008162/0.2018, allocations: 143.5 kB / 374.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005778/0.2024, allocations: 332.9 kB / 374.5 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009581/0.2034, allocations: 1.085 MB / 375.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008231/0.2042, allocations: 0.5849 MB / 376.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2042, allocations: 0 / 376.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001441/0.2057, allocations: 375.2 kB / 376.5 MB, free: 3.293 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: 116 ($whenCondition1,Enable.y,Clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.004356/0.21, allocations: 2.856 MB / 379.4 MB, free: 412 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.2132/0.4233, allocations: 2.043 MB / 381.4 MB, free: 50.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.4233, allocations: 1.438 kB / 381.4 MB, free: 50.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002142/0.4255, allocations: 1.088 MB / 382.5 MB, free: 50.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/0.4294, allocations: 0.9037 MB / 383.4 MB, free: 50.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/0.4476, allocations: 10.22 MB / 393.7 MB, free: 45.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.4488, allocations: 1.347 MB / 395 MB, free: 44.63 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.006355/0.4552, allocations: 3.379 MB / 398.4 MB, free: 42.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002917/0.4581, allocations: 1.245 MB / 399.6 MB, free: 41.65 MB / 318.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4581, allocations: 0 / 399.6 MB, free: 41.65 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05741/0.5156, allocations: 47.56 MB / 447.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.5158, allocations: 168.4 kB / 447.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/2.964, allocations: 0 / 447.4 MB, free: 10.35 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat does not exist to compare? outputFormat=mat