Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter3,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_Counter3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter3,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_Counter3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 197.4 kB / 17.38 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 226.5 MB / 244.7 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000796/0.0007958, allocations: 98.2 kB / 296.7 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002421/0.0002423, allocations: 8 kB / 356.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1952, allocations: 51.28 MB / 408.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter3): time 0.002363/0.1977, allocations: 2.979 MB / 411.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.2001, allocations: 1.616 MB / 412.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.2004, allocations: 16.5 kB / 412.7 MB, free: 23.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.2006, allocations: 88.09 kB / 412.8 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.2007, allocations: 64.22 kB / 412.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.2013, allocations: 270.9 kB / 413.1 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006932/0.202, allocations: 1.169 MB / 414.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005071/0.2025, allocations: 0.5222 MB / 414.8 MB, free: 20.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.2035, allocations: 1.146 MB / 416 MB, free: 19.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004122/0.204, allocations: 0.6782 MB / 416.7 MB, free: 19.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.2042, allocations: 28 kB / 416.7 MB, free: 19.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.2044, allocations: 28 kB / 416.7 MB, free: 19.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002891/0.2047, allocations: 319.2 kB / 417 MB, free: 18.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004246/0.2051, allocations: 0.5034 MB / 417.5 MB, free: 18.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.2063, allocations: 2.569 MB / 420.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2063, allocations: 0 / 420.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2063, allocations: 0 / 420.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.2063, allocations: 4 kB / 420.1 MB, free: 15.7 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.001507/0.2078, allocations: 1.247 MB / 421.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2079, allocations: 8.031 kB / 421.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/0.2081, allocations: 152 kB / 421.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.2083, allocations: 111.6 kB / 421.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007574/0.2091, allocations: 0.6887 MB / 422.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.2091, allocations: 74.38 kB / 422.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.2093, allocations: 88.38 kB / 422.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.2112, allocations: 1.327 MB / 423.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2113, allocations: 0 / 423.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.2114, allocations: 44 kB / 423.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2114, allocations: 24 kB / 423.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.2131, allocations: 1.081 MB / 424.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003679/0.2168, allocations: 3.141 MB / 428.1 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.2186, allocations: 1.126 MB / 429.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006853/0.2193, allocations: 455.6 kB / 429.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.2195, allocations: 16.92 kB / 429.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.2206, allocations: 0.8363 MB / 430.5 MB, free: 5.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 2.645e-06/0.2206, allocations: 4 kB / 430.5 MB, free: 5.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.002685/0.2233, allocations: 1.657 MB / 432.2 MB, free: 3.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.2234, allocations: 94.09 kB / 432.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005057/0.2239, allocations: 0.5441 MB / 432.8 MB, free: 2.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.224, allocations: 69.62 kB / 432.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.2242, allocations: 293 kB / 433.2 MB, free: 2.406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.2244, allocations: 221.2 kB / 433.4 MB, free: 2.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.2245, allocations: 27.98 kB / 433.4 MB, free: 2.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.032e-05/0.2246, allocations: 366.7 kB / 433.8 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007515/0.2254, allocations: 490.3 kB / 434.2 MB, free: 1.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007923/0.2262, allocations: 0.592 MB / 434.8 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.228, allocations: 1.188 MB / 436 MB, free: 15.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.228, allocations: 0 / 436 MB, free: 15.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00254/0.2305, allocations: 1.481 MB / 437.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.2306, allocations: 33.7 kB / 437.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.2306, allocations: 4 kB / 437.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.2306, allocations: 4 kB / 437.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.231, allocations: 175.6 kB / 437.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.231, allocations: 4 kB / 437.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007279/0.2317, allocations: 143.5 kB / 437.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006996/0.2324, allocations: 0.8116 MB / 438.7 MB, free: 12.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 122 ($whenCondition1,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,$PRE.Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,$PRE.Counter.FF1.And2.auxiliary_n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.auxiliary_n,$PRE.Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,$PRE.Counter.FF1.And4.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary[2],$PRE.Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,$PRE.Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.And1.y,$PRE.Counter.FF1.And1.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,$PRE.Counter.FF1.Not1.auxiliary,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,$PRE.Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,$PRE.Counter.FF2.And2.auxiliary_n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.auxiliary_n,$PRE.Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,$PRE.Counter.FF2.And4.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary[2],$PRE.Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,$PRE.Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.And1.y,$PRE.Counter.FF2.And1.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,$PRE.Counter.FF2.Not1.auxiliary,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,$PRE.Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,$PRE.Counter.FF3.And2.auxiliary_n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.auxiliary_n,$PRE.Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,$PRE.Counter.FF3.And4.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary[2],$PRE.Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,$PRE.Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.And1.y,$PRE.Counter.FF3.And1.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,$PRE.Counter.FF3.Not1.auxiliary,Enable.y,$PRE.clock.t_i,clock.t_i,Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],$PRE.Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,$PRE.Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.And1.auxiliary[2],Counter.FF1.And1.auxiliary_n,Counter.FF1.And2.x[1],Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.auxiliary_n,Counter.FF1.And3.y,$PRE.Counter.FF1.And3.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],$PRE.Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,$PRE.Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.And1.auxiliary[2],Counter.FF2.And1.auxiliary_n,Counter.FF2.And2.x[1],Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.auxiliary_n,Counter.FF2.And3.y,$PRE.Counter.FF2.And3.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],$PRE.Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,$PRE.Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.And1.auxiliary[2],Counter.FF3.And1.auxiliary_n,Counter.FF3.And2.x[1],Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.auxiliary_n,Counter.FF3.And3.y,$PRE.Counter.FF3.And3.auxiliary_n,Counter.FF3.Not1.auxiliary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * 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.0007027/0.2331, allocations: 0.5087 MB / 439.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.2333, allocations: 71.16 kB / 439.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.2334, allocations: 78.88 kB / 439.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.2335, allocations: 12 kB / 439.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2335, allocations: 0 / 439.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.2335, allocations: 3.984 kB / 439.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.2349, allocations: 1.134 MB / 440.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.235, allocations: 0 / 440.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.2353, allocations: 155.7 kB / 440.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.2353, allocations: 4 kB / 440.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/0.2355, allocations: 131.9 kB / 440.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.2355, allocations: 0 / 440.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.2355, allocations: 4 kB / 440.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.2378, allocations: 1.323 MB / 442.1 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006785/0.2385, allocations: 448 kB / 442.5 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.2387, allocations: 44 kB / 442.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/0.2393, allocations: 107.6 kB / 442.7 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004934/0.2398, allocations: 184.8 kB / 442.8 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006761/0.2404, allocations: 0.8116 MB / 443.7 MB, free: 7.676 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003608/0.2408, allocations: 339.1 kB / 444 MB, free: 7.344 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2408, allocations: 3.938 kB / 444 MB, free: 7.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007985/0.2416, allocations: 251.4 kB / 444.2 MB, free: 7.094 MB / 314.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: 88 ($whenCondition1,Enable.y,clock.t_i,Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,Counter.FF1.RS2.Nor1.auxiliary[2],Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,Counter.FF1.And1.y,Counter.FF1.And1.auxiliary[2],Counter.FF1.And1.auxiliary_n,Counter.FF1.And2.x[1],Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.y,Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,Counter.FF2.RS2.Nor1.auxiliary[2],Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,Counter.FF2.And1.y,Counter.FF2.And1.auxiliary[2],Counter.FF2.And1.auxiliary_n,Counter.FF2.And2.x[1],Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.y,Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,Counter.FF3.RS2.Nor1.auxiliary[2],Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,Counter.FF3.And1.y,Counter.FF3.And1.auxiliary[2],Counter.FF3.And1.auxiliary_n,Counter.FF3.And2.x[1],Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.y,Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,Counter.FF3.Not1.auxiliary) * Number of discrete states: 34 (Counter.FF3.Not1.auxiliary,Counter.FF3.And4.auxiliary_n,Counter.FF3.And3.auxiliary_n,Counter.FF3.And2.auxiliary_n,Counter.FF3.And1.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF2.And4.auxiliary_n,Counter.FF2.And3.auxiliary_n,Counter.FF2.And2.auxiliary_n,Counter.FF2.And1.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF1.And4.auxiliary_n,Counter.FF1.And3.auxiliary_n,Counter.FF1.And2.auxiliary_n,Counter.FF1.And1.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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.002723/0.2443, allocations: 2.013 MB / 446.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.2465, allocations: 1.222 MB / 447.5 MB, free: 3.809 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2465, allocations: 4 kB / 447.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.2476, allocations: 0.6766 MB / 448.2 MB, free: 3.113 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.2502, allocations: 0.6418 MB / 448.8 MB, free: 2.473 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008009/0.2582, allocations: 4.751 MB / 453.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.2589, allocations: 1.025 MB / 454.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003012/0.2619, allocations: 1.192 MB / 455.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of SimCode: time 2.905e-06/0.2619, allocations: 0 / 455.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.47/3.732, allocations: 11.86 MB / 467.6 MB, free: 15.47 MB / 346.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_Counter3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Digital_Examples_Counter3.fmu > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter3/Counter3.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Counter.FF1.RS1.TD1.x,Counter.FF1.RS2.TD1.x,Counter.FF2.RS1.TD1.x,Counter.FF2.RS2.TD1.x,Counter.FF3.RS1.TD1.x,Counter.FF3.RS2.TD1.x Variables in the result:Counter.FF1.And1.auxiliary[1],Counter.FF1.And1.auxiliary[2],Counter.FF1.And1.auxiliary[3],Counter.FF1.And1.auxiliary_n,Counter.FF1.And1.n,Counter.FF1.And1.x[1],Counter.FF1.And1.x[2],Counter.FF1.And1.x[3],Counter.FF1.And1.y,Counter.FF1.And2.auxiliary[1],Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.auxiliary[3],Counter.FF1.And2.auxiliary_n,Counter.FF1.And2.n,Counter.FF1.And2.x[1],Counter.FF1.And2.x[2],Counter.FF1.And2.x[3],Counter.FF1.And2.y,Counter.FF1.And3.auxiliary[1],Counter.FF1.And3.auxiliary[2],Counter.FF1.And3.auxiliary_n,Counter.FF1.And3.n,Counter.FF1.And3.x[1],Counter.FF1.And3.x[2],Counter.FF1.And3.y,Counter.FF1.And4.auxiliary[1],Counter.FF1.And4.auxiliary[2],Counter.FF1.And4.auxiliary_n,Counter.FF1.And4.n,Counter.FF1.And4.x[1],Counter.FF1.And4.x[2],Counter.FF1.And4.y,Counter.FF1.Not1.auxiliary,Counter.FF1.Not1.x,Counter.FF1.Not1.y,Counter.FF1.RS1.Nor1.auxiliary[1],Counter.FF1.RS1.Nor1.auxiliary[2],Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor1.n,Counter.FF1.RS1.Nor1.x[1],Counter.FF1.RS1.Nor1.x[2],Counter.FF1.RS1.Nor1.y,Counter.FF1.RS1.Nor2.auxiliary[1],Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor2.n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.y,Counter.FF1.RS1.TD1.delayTime,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,Counter.FF1.RS1.TD1.xr,Counter.FF1.RS1.TD1.y,Counter.FF1.RS1.TD1.y0,Counter.FF1.RS1.delayTime,Counter.FF1.RS1.q,Counter.FF1.RS1.q0,Counter.FF1.RS1.qn,Counter.FF1.RS1.r,Counter.FF1.RS1.s,Counter.FF1.RS2.Nor1.auxiliary[1],Counter.FF1.RS2.Nor1.auxiliary[2],Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor1.n,Counter.FF1.RS2.Nor1.x[1],Counter.FF1.RS2.Nor1.x[2],Counter.FF1.RS2.Nor1.y,Counter.FF1.RS2.Nor2.auxiliary[1],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor2.n,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.y,Counter.FF1.RS2.TD1.delayTime,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,Counter.FF1.RS2.TD1.xr,Counter.FF1.RS2.TD1.y,Counter.FF1.RS2.TD1.y0,Counter.FF1.RS2.delayTime,Counter.FF1.RS2.q,Counter.FF1.RS2.q0,Counter.FF1.RS2.qn,Counter.FF1.RS2.r,Counter.FF1.RS2.s,Counter.FF1.clk,Counter.FF1.delayTime,Counter.FF1.j,Counter.FF1.k,Counter.FF1.q,Counter.FF1.q0,Counter.FF1.qn,Counter.FF2.And1.auxiliary[1],Counter.FF2.And1.auxiliary[2],Counter.FF2.And1.auxiliary[3],Counter.FF2.And1.auxiliary_n,Counter.FF2.And1.n,Counter.FF2.And1.x[1],Counter.FF2.And1.x[2],Counter.FF2.And1.x[3],Counter.FF2.And1.y,Counter.FF2.And2.auxiliary[1],Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.auxiliary[3],Counter.FF2.And2.auxiliary_n,Counter.FF2.And2.n,Counter.FF2.And2.x[1],Counter.FF2.And2.x[2],Counter.FF2.And2.x[3],Counter.FF2.And2.y,Counter.FF2.And3.auxiliary[1],Counter.FF2.And3.auxiliary[2],Counter.FF2.And3.auxiliary_n,Counter.FF2.And3.n,Counter.FF2.And3.x[1],Counter.FF2.And3.x[2],Counter.FF2.And3.y,Counter.FF2.And4.auxiliary[1],Counter.FF2.And4.auxiliary[2],Counter.FF2.And4.auxiliary_n,Counter.FF2.And4.n,Counter.FF2.And4.x[1],Counter.FF2.And4.x[2],Counter.FF2.And4.y,Counter.FF2.Not1.auxiliary,Counter.FF2.Not1.x,Counter.FF2.Not1.y,Counter.FF2.RS1.Nor1.auxiliary[1],Counter.FF2.RS1.Nor1.auxiliary[2],Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor1.n,Counter.FF2.RS1.Nor1.x[1],Counter.FF2.RS1.Nor1.x[2],Counter.FF2.RS1.Nor1.y,Counter.FF2.RS1.Nor2.auxiliary[1],Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor2.n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.y,Counter.FF2.RS1.TD1.delayTime,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,Counter.FF2.RS1.TD1.xr,Counter.FF2.RS1.TD1.y,Counter.FF2.RS1.TD1.y0,Counter.FF2.RS1.delayTime,Counter.FF2.RS1.q,Counter.FF2.RS1.q0,Counter.FF2.RS1.qn,Counter.FF2.RS1.r,Counter.FF2.RS1.s,Counter.FF2.RS2.Nor1.auxiliary[1],Counter.FF2.RS2.Nor1.auxiliary[2],Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor1.n,Counter.FF2.RS2.Nor1.x[1],Counter.FF2.RS2.Nor1.x[2],Counter.FF2.RS2.Nor1.y,Counter.FF2.RS2.Nor2.auxiliary[1],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor2.n,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.y,Counter.FF2.RS2.TD1.delayTime,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,Counter.FF2.RS2.TD1.xr,Counter.FF2.RS2.TD1.y,Counter.FF2.RS2.TD1.y0,Counter.FF2.RS2.delayTime,Counter.FF2.RS2.q,Counter.FF2.RS2.q0,Counter.FF2.RS2.qn,Counter.FF2.RS2.r,Counter.FF2.RS2.s,Counter.FF2.clk,Counter.FF2.delayTime,Counter.FF2.j,Counter.FF2.k,Counter.FF2.q,Counter.FF2.q0,Counter.FF2.qn,Counter.FF3.And1.auxiliary[1],Counter.FF3.And1.auxiliary[2],Counter.FF3.And1.auxiliary[3],Counter.FF3.And1.auxiliary_n,Counter.FF3.And1.n,Counter.FF3.And1.x[1],Counter.FF3.And1.x[2],Counter.FF3.And1.x[3],Counter.FF3.And1.y,Counter.FF3.And2.auxiliary[1],Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.auxiliary[3],Counter.FF3.And2.auxiliary_n,Counter.FF3.And2.n,Counter.FF3.And2.x[1],Counter.FF3.And2.x[2],Counter.FF3.And2.x[3],Counter.FF3.And2.y,Counter.FF3.And3.auxiliary[1],Counter.FF3.And3.auxiliary[2],Counter.FF3.And3.auxiliary_n,Counter.FF3.And3.n,Counter.FF3.And3.x[1],Counter.FF3.And3.x[2],Counter.FF3.And3.y,Counter.FF3.And4.auxiliary[1],Counter.FF3.And4.auxiliary[2],Counter.FF3.And4.auxiliary_n,Counter.FF3.And4.n,Counter.FF3.And4.x[1],Counter.FF3.And4.x[2],Counter.FF3.And4.y,Counter.FF3.Not1.auxiliary,Counter.FF3.Not1.x,Counter.FF3.Not1.y,Counter.FF3.RS1.Nor1.auxiliary[1],Counter.FF3.RS1.Nor1.auxiliary[2],Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor1.n,Counter.FF3.RS1.Nor1.x[1],Counter.FF3.RS1.Nor1.x[2],Counter.FF3.RS1.Nor1.y,Counter.FF3.RS1.Nor2.auxiliary[1],Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor2.n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.y,Counter.FF3.RS1.TD1.delayTime,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,Counter.FF3.RS1.TD1.xr,Counter.FF3.RS1.TD1.y,Counter.FF3.RS1.TD1.y0,Counter.FF3.RS1.delayTime,Counter.FF3.RS1.q,Counter.FF3.RS1.q0,Counter.FF3.RS1.qn,Counter.FF3.RS1.r,Counter.FF3.RS1.s,Counter.FF3.RS2.Nor1.auxiliary[1],Counter.FF3.RS2.Nor1.auxiliary[2],Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor1.n,Counter.FF3.RS2.Nor1.x[1],Counter.FF3.RS2.Nor1.x[2],Counter.FF3.RS2.Nor1.y,Counter.FF3.RS2.Nor2.auxiliary[1],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor2.n,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.y,Counter.FF3.RS2.TD1.delayTime,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,Counter.FF3.RS2.TD1.xr,Counter.FF3.RS2.TD1.y,Counter.FF3.RS2.TD1.y0,Counter.FF3.RS2.delayTime,Counter.FF3.RS2.q,Counter.FF3.RS2.q0,Counter.FF3.RS2.qn,Counter.FF3.RS2.r,Counter.FF3.RS2.s,Counter.FF3.clk,Counter.FF3.delayTime,Counter.FF3.j,Counter.FF3.k,Counter.FF3.q,Counter.FF3.q0,Counter.FF3.qn,Counter.count,Counter.enable,Counter.q0,Counter.q1,Counter.q2,Enable.after,Enable.before,Enable.stepTime,Enable.y,clock.period,clock.startTime,clock.t_i,clock.t_width,clock.width,clock.y,time