Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.465/1.465, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 358.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2584, allocations: 50.54 MB / 409.1 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003686/0.2621, allocations: 2.612 MB / 411.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.2648, allocations: 1.275 MB / 413 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.265, allocations: 7.938 kB / 413 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.2652, allocations: 67.38 kB / 413 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.2654, allocations: 67.31 kB / 413.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.2661, allocations: 239.6 kB / 413.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.268, allocations: 2.065 MB / 415.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.2691, allocations: 0.9438 MB / 416.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.2715, allocations: 2.121 MB / 418.5 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.2729, allocations: 1.051 MB / 419.5 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00051/0.2734, allocations: 216 kB / 419.7 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004791/0.2739, allocations: 216 kB / 419.9 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007327/0.2747, allocations: 0.6192 MB / 420.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.2759, allocations: 0.8941 MB / 421.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004402/0.2803, allocations: 4.414 MB / 425.9 MB, free: 480 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2803, allocations: 0 / 425.9 MB, free: 480 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2804, allocations: 0 / 425.9 MB, free: 480 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.351e-05/0.2805, allocations: 0 / 425.9 MB, free: 480 kB / 334.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.004775/0.2852, allocations: 2.347 MB / 428.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.2853, allocations: 8.031 kB / 428.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003926/0.2857, allocations: 202.2 kB / 428.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.2862, allocations: 179.9 kB / 428.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.2879, allocations: 1.066 MB / 429.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.455e-05/0.288, allocations: 94.91 kB / 429.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/0.2883, allocations: 120.4 kB / 429.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004226/0.2925, allocations: 2.289 MB / 432.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.2926, allocations: 0 / 432.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.2928, allocations: 59.98 kB / 432.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/0.2928, allocations: 32 kB / 432.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004087/0.2969, allocations: 1.985 MB / 434.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008967/0.3059, allocations: 4.813 MB / 439 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/0.3098, allocations: 1.859 MB / 440.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.3113, allocations: 0.7581 MB / 441.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.3116, allocations: 13.31 kB / 441.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00228/0.3139, allocations: 1.356 MB / 443 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 1.271e-05/0.3139, allocations: 0 / 443 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005559/0.3195, allocations: 2.674 MB / 445.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/0.3196, allocations: 98.41 kB / 445.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.3211, allocations: 0.945 MB / 446.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003164/0.3215, allocations: 101.7 kB / 446.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004976/0.322, allocations: 466.2 kB / 447.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004827/0.3225, allocations: 333.5 kB / 447.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/0.3235, allocations: 0.6712 MB / 448.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.3238, allocations: 406.7 kB / 448.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.3255, allocations: 0.8627 MB / 449.6 MB, free: 8.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.3273, allocations: 1.035 MB / 450.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/0.3309, allocations: 1.95 MB / 452.5 MB, free: 5.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.3309, allocations: 4 kB / 452.5 MB, free: 5.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004602/0.3355, allocations: 2.405 MB / 454.9 MB, free: 2.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.392e-05/0.3356, allocations: 33.7 kB / 455 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.3356, allocations: 4 kB / 455 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.3356, allocations: 8 kB / 455 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/0.3362, allocations: 223.6 kB / 455.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.3362, allocations: 11.94 kB / 455.2 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/0.3369, allocations: 83.69 kB / 455.3 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/0.3379, allocations: 1.093 MB / 456.4 MB, free: 1.492 MB / 366.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,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,clock.t_i,$PRE.clock.t_i,Enable.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001618/0.3396, allocations: 0.8963 MB / 457.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/0.3399, allocations: 107.3 kB / 457.4 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.3402, allocations: 134.3 kB / 457.5 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.3402, allocations: 16 kB / 457.5 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.3403, allocations: 0 / 457.5 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.3403, allocations: 7.922 kB / 457.5 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.3428, allocations: 1.77 MB / 459.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.3428, allocations: 4 kB / 459.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.3433, allocations: 207.7 kB / 459.5 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.3433, allocations: 7.938 kB / 459.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002841/0.3436, allocations: 179.9 kB / 459.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.3436, allocations: 4 kB / 459.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3436, allocations: 0 / 459.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00394/0.3476, allocations: 2.038 MB / 461.8 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.3487, allocations: 0.6524 MB / 462.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004319/0.3491, allocations: 115.9 kB / 462.5 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.3496, allocations: 47.98 kB / 462.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006951/0.3503, allocations: 340.9 kB / 462.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001071/0.3514, allocations: 1.081 MB / 464 MB, free: 9.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008256/0.3522, allocations: 0.5927 MB / 464.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3522, allocations: 3.938 kB / 464.6 MB, free: 9.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00142/0.3536, allocations: 379.4 kB / 464.9 MB, free: 8.809 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004578/0.3582, allocations: 2.846 MB / 467.8 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003919/0.3622, allocations: 2.045 MB / 469.8 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3622, allocations: 0 / 469.8 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.3641, allocations: 1.088 MB / 470.9 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004126/0.3682, allocations: 1.066 MB / 472 MB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/0.3885, allocations: 11.75 MB / 483.7 MB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.3898, allocations: 1.316 MB / 485.1 MB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00642/0.3962, allocations: 3.37 MB / 488.4 MB, free: 1.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003285/0.3995, allocations: 1.247 MB / 489.7 MB, free: 15.84 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3995, allocations: 0 / 489.7 MB, free: 15.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08739/0.4869, allocations: 49.67 MB / 0.5267 GB, free: 13.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.222/9.709, allocations: 2.812 kB / 0.5267 GB, free: 13.46 MB / 462.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1)