Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.2 MB / 219.4 MB, free: 14.22 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001147, allocations: 94.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.529e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 47.57 MB / 369.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5305, allocations: 82.85 MB / 452 MB, free: 10.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.5309, allocations: 66.59 kB / 452.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6308/1.162, allocations: 115.1 MB / 0.5539 GB, free: 117.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.905e-06/1.162, allocations: 4 kB / 0.5539 GB, free: 117.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001499/1.162, allocations: 38.73 kB / 0.5539 GB, free: 117.7 MB / 410.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.005632/1.168, allocations: 1.568 MB / 0.5554 GB, free: 117.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/1.168, allocations: 11.88 kB / 0.5554 GB, free: 117.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001078/1.169, allocations: 203.3 kB / 0.5556 GB, free: 117.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000801/1.17, allocations: 160.6 kB / 0.5558 GB, free: 117.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003533/1.173, allocations: 1.085 MB / 0.5568 GB, free: 116.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/1.173, allocations: 97.12 kB / 0.5569 GB, free: 116.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00089/1.174, allocations: 121.8 kB / 0.5571 GB, free: 116.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006798/1.181, allocations: 2.151 MB / 0.5592 GB, free: 116.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.566e-05/1.181, allocations: 0 / 0.5592 GB, free: 116.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003829/1.182, allocations: 50.72 kB / 0.5592 GB, free: 116 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/1.182, allocations: 28.84 kB / 0.5592 GB, free: 116 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006271/1.188, allocations: 1.829 MB / 0.561 GB, free: 115.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01548/1.203, allocations: 4.755 MB / 0.5657 GB, free: 113.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005556/1.209, allocations: 1.81 MB / 0.5674 GB, free: 113 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/1.212, allocations: 0.7407 MB / 0.5682 GB, free: 112.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005267/1.212, allocations: 13.97 kB / 0.5682 GB, free: 112.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003448/1.216, allocations: 1.336 MB / 0.5695 GB, free: 111.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 6.021e-06/1.216, allocations: 0 / 0.5695 GB, free: 111.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=128): time 0.005969/1.222, allocations: 1.903 MB / 0.5713 GB, free: 111.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/1.222, allocations: 89.86 kB / 0.5714 GB, free: 111 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/1.224, allocations: 0.8503 MB / 0.5722 GB, free: 110.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007634/1.224, allocations: 99.91 kB / 0.5723 GB, free: 110.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005173/1.225, allocations: 454.3 kB / 0.5728 GB, free: 110.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009145/1.226, allocations: 302.1 kB / 0.5731 GB, free: 109.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/1.226, allocations: 31.62 kB / 0.5731 GB, free: 109.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/1.226, allocations: 364.2 kB / 0.5734 GB, free: 109.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/1.229, allocations: 0.8458 MB / 0.5743 GB, free: 109.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/1.231, allocations: 1.007 MB / 0.5752 GB, free: 108.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/1.234, allocations: 1.009 MB / 0.5762 GB, free: 107.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/1.234, allocations: 0 / 0.5762 GB, free: 107.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006533/1.241, allocations: 2.313 MB / 0.5785 GB, free: 105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/1.241, allocations: 33.7 kB / 0.5785 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/1.241, allocations: 4 kB / 0.5785 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.11e-05/1.241, allocations: 8 kB / 0.5785 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.242, allocations: 231 kB / 0.5788 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.609e-05/1.242, allocations: 12 kB / 0.5788 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.244, allocations: 190.7 kB / 0.5789 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.246, allocations: 1.1 MB / 0.58 GB, free: 103.4 MB / 410.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,Clock.y,$PRE.Clock.t_i,Clock.t_i,Counter.enable,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 () * 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.001111/1.247, allocations: 390.7 kB / 0.5804 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005918/1.247, allocations: 102.8 kB / 0.5805 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/1.248, allocations: 138.3 kB / 0.5806 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/1.248, allocations: 12 kB / 0.5806 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/1.248, allocations: 4 kB / 0.5806 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/1.248, allocations: 3.984 kB / 0.5806 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/1.252, allocations: 1.752 MB / 0.5824 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/1.252, allocations: 0 / 0.5824 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009818/1.253, allocations: 207.2 kB / 0.5826 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/1.253, allocations: 4 kB / 0.5826 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000463/1.254, allocations: 179.8 kB / 0.5827 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/1.254, allocations: 8 kB / 0.5827 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.254, allocations: 2.109 kB / 0.5827 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005761/1.259, allocations: 1.983 MB / 0.5847 GB, free: 98.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002743/1.262, allocations: 0.6402 MB / 0.5853 GB, free: 98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/1.263, allocations: 119.9 kB / 0.5854 GB, free: 97.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.265, allocations: 147.3 kB / 0.5856 GB, free: 97.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009212/1.266, allocations: 325 kB / 0.5859 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001194/1.267, allocations: 1.092 MB / 0.5869 GB, free: 96.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001151/1.268, allocations: 0.5772 MB / 0.5875 GB, free: 95.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.269, allocations: 0 / 0.5875 GB, free: 95.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002095/1.271, allocations: 324 kB / 0.5878 GB, free: 95.45 MB / 410.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.y,Clock.t_i,Counter.enable,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) * 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.006055/1.277, allocations: 2.805 MB / 0.5905 GB, free: 92.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005041/1.282, allocations: 1.977 MB / 0.5925 GB, free: 90.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.282, allocations: 0 / 0.5925 GB, free: 90.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002642/1.284, allocations: 1.041 MB / 0.5935 GB, free: 89.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006328/1.291, allocations: 0.9083 MB / 0.5944 GB, free: 88.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008467/1.299, allocations: 2.781 MB / 0.5971 GB, free: 85.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/1.301, allocations: 1.351 MB / 0.5984 GB, free: 84.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007239/1.308, allocations: 1.638 MB / 0.6 GB, free: 82.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/1.308, allocations: 0 / 0.6 GB, free: 82.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.106/4.414, allocations: 38.85 MB / 0.638 GB, free: 42.66 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter_res.mat does not exist to compare? outputFormat=mat