Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001024, allocations: 180.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009139/0.0009139, allocations: 91.94 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002996, allocations: 8 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2826, allocations: 50.4 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.3887, allocations: 83.84 MB / 485.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.389, allocations: 71.97 kB / 485.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4025/0.7915, allocations: 115.5 MB / 0.5869 GB, free: 26.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7916, allocations: 4 kB / 0.5869 GB, free: 26.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.962e-05/0.7917, allocations: 35.94 kB / 0.5869 GB, free: 26.59 MB / 378.7 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.004341/0.796, allocations: 1.707 MB / 0.5886 GB, free: 24.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.7961, allocations: 8.031 kB / 0.5886 GB, free: 24.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005976/0.7967, allocations: 206 kB / 0.5888 GB, free: 24.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.7972, allocations: 166 kB / 0.589 GB, free: 24.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.7994, allocations: 1.085 MB / 0.59 GB, free: 23.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.432e-05/0.7995, allocations: 94.53 kB / 0.5901 GB, free: 23.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/0.7998, allocations: 128 kB / 0.5902 GB, free: 23.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/0.8037, allocations: 2.201 MB / 0.5924 GB, free: 20.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.8037, allocations: 3.984 kB / 0.5924 GB, free: 20.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.804, allocations: 55.95 kB / 0.5924 GB, free: 20.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.804, allocations: 28 kB / 0.5925 GB, free: 20.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/0.8073, allocations: 1.927 MB / 0.5943 GB, free: 18.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007166/0.8145, allocations: 4.755 MB / 0.599 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003052/0.8176, allocations: 1.94 MB / 0.6009 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.8178, allocations: 13.31 kB / 0.6009 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001795/0.8196, allocations: 1.383 MB / 0.6022 GB, free: 10.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 4.409e-06/0.8196, allocations: 3.938 kB / 0.6022 GB, free: 10.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=128): time 0.004479/0.8241, allocations: 2.72 MB / 0.6049 GB, free: 7.938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.8242, allocations: 94.42 kB / 0.605 GB, free: 7.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.8254, allocations: 0.8618 MB / 0.6058 GB, free: 6.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002455/0.8256, allocations: 93.66 kB / 0.6059 GB, free: 6.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.826, allocations: 413.4 kB / 0.6063 GB, free: 6.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.8263, allocations: 312.2 kB / 0.6066 GB, free: 6.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.8265, allocations: 32 kB / 0.6066 GB, free: 6.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8266, allocations: 402.7 kB / 0.607 GB, free: 5.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.828, allocations: 0.8861 MB / 0.6079 GB, free: 4.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.8293, allocations: 1.055 MB / 0.6089 GB, free: 3.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.8308, allocations: 1.05 MB / 0.6099 GB, free: 2.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.8308, allocations: 3.938 kB / 0.61 GB, free: 2.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00354/0.8344, allocations: 2.437 MB / 0.6123 GB, free: 216 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.8344, allocations: 33.66 kB / 0.6124 GB, free: 176 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.8344, allocations: 4.031 kB / 0.6124 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.8345, allocations: 16 kB / 0.6124 GB, free: 156 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.835, allocations: 227.6 kB / 0.6126 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/0.835, allocations: 11.94 kB / 0.6126 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.8364, allocations: 195.3 kB / 0.6128 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/0.8376, allocations: 1.085 MB / 0.6139 GB, free: 14.64 MB / 394.7 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.x[2],Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And2.y,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS1.Nor2.x[2],Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].And4.y,$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.TD1.x,Counter.FF[1].And1.y,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And3.x[1],Counter.FF[1].And3.x[2],Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.auxiliary_n,$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[2].RS2.Nor2.x[2],Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And2.y,$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS1.Nor2.x[2],Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].And4.y,$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.TD1.x,Counter.FF[2].And1.y,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And3.x[1],Counter.FF[2].And3.x[2],Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.auxiliary_n,$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[3].RS2.Nor2.x[2],Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And2.y,$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS1.Nor2.x[2],Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].And4.y,$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.TD1.x,Counter.FF[3].And1.y,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And3.x[1],Counter.FF[3].And3.x[2],Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.auxiliary_n,$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[4].RS2.Nor2.x[2],Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And2.y,$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS1.Nor2.x[2],Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].And4.y,$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.TD1.x,Counter.FF[4].And1.y,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And3.x[1],Counter.FF[4].And3.x[2],Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.auxiliary_n,$PRE.Counter.FF[4].Not1.auxiliary,$PRE.clock.t_i,clock.t_i,Counter.enable,Counter.count,Counter.FF[1].qn,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.002078/0.8397, allocations: 0.9082 MB / 0.6147 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/0.8401, allocations: 106.8 kB / 0.6148 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.8405, allocations: 130.3 kB / 0.615 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.8405, allocations: 12 kB / 0.615 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.8405, allocations: 4 kB / 0.615 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.8405, allocations: 11.91 kB / 0.615 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/0.8436, allocations: 1.755 MB / 0.6167 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.8436, allocations: 0 / 0.6167 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.8441, allocations: 203.7 kB / 0.6169 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/0.8441, allocations: 7.953 kB / 0.6169 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002843/0.8444, allocations: 175.9 kB / 0.6171 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.8444, allocations: 4 kB / 0.6171 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.8444, allocations: 3.938 kB / 0.6171 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/0.8484, allocations: 2.073 MB / 0.6191 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/0.8501, allocations: 0.6363 MB / 0.6197 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005094/0.8506, allocations: 127.9 kB / 0.6199 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009255/0.8516, allocations: 143.6 kB / 0.62 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005963/0.8522, allocations: 324.9 kB / 0.6203 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00119/0.8534, allocations: 1.085 MB / 0.6214 GB, free: 6.828 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001104/0.8545, allocations: 0.5888 MB / 0.6219 GB, free: 6.238 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8545, allocations: 0 / 0.6219 GB, free: 6.238 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001869/0.8564, allocations: 327.9 kB / 0.6222 GB, free: 5.918 MB / 394.7 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,clock.t_i,Counter.enable,Counter.count,Counter.FF[1].qn,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.x[2],Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.TD1.x,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.x[2],Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.TD1.x,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.y,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.x[1],Counter.FF[1].And3.x[2],Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.y,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.x[2],Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.TD1.x,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.x[2],Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.TD1.x,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.y,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.x[1],Counter.FF[2].And3.x[2],Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.y,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.x[2],Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.TD1.x,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.x[2],Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.TD1.x,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.y,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.x[1],Counter.FF[3].And3.x[2],Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.y,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.x[2],Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.TD1.x,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.x[2],Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.TD1.x,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.y,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.x[1],Counter.FF[4].And3.x[2],Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.y,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,Counter.enable) * 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.004737/0.8611, allocations: 2.884 MB / 0.6251 GB, free: 3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003882/0.865, allocations: 2.071 MB / 0.6271 GB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.865, allocations: 0 / 0.6271 GB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.8669, allocations: 1.1 MB / 0.6282 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003423/0.8704, allocations: 0.9179 MB / 0.6291 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/0.8871, allocations: 10.28 MB / 0.6391 GB, free: 4.398 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/0.8886, allocations: 1.34 MB / 0.6404 GB, free: 3.027 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006658/0.8952, allocations: 3.425 MB / 0.6438 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003593/0.8988, allocations: 1.239 MB / 0.645 GB, free: 14.35 MB / 426.7 MB Notification: Performance of SimCode: time 1.793e-06/0.8989, allocations: 0 / 0.645 GB, free: 14.35 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2764/1.175, allocations: 48.1 MB / 0.6919 GB, free: 106.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001245/1.175, allocations: 178 kB / 0.6921 GB, free: 106.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/4.1, allocations: 0 / 0.6921 GB, free: 106.4 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat does not exist to compare? outputFormat=mat