Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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) 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_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_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.001065/0.001065, allocations: 93.38 kB / 17 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 199.9 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.3 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.000261, allocations: 11.98 kB / 306.8 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 51.49 MB / 358.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003213/0.1347, allocations: 2.158 MB / 360.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.138, allocations: 1.217 MB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.1385, allocations: 7.938 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.1388, allocations: 39.62 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.1392, allocations: 51.52 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008223/0.1401, allocations: 155.7 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.1422, allocations: 1.706 MB / 363.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.1433, allocations: 0.7077 MB / 364.3 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.1456, allocations: 1.447 MB / 365.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.1469, allocations: 0.9626 MB / 366.7 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.1472, allocations: 47.92 kB / 366.8 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.1474, allocations: 40 kB / 366.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005963/0.148, allocations: 446.9 kB / 367.3 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003116/0.1483, allocations: 281 kB / 367.5 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.1517, allocations: 3.783 MB / 371.3 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1518, allocations: 0 / 371.3 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1518, allocations: 0 / 371.3 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.982e-05/0.1518, allocations: 0 / 371.3 MB, free: 0.6875 MB / 302.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.2414/0.3933, allocations: 1.701 MB / 373 MB, free: 17.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3933, allocations: 8.5 kB / 373 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006895/0.394, allocations: 202.6 kB / 373.2 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/0.3945, allocations: 167.3 kB / 373.4 MB, free: 17.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.3964, allocations: 1.033 MB / 374.4 MB, free: 17.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.3965, allocations: 100.9 kB / 374.5 MB, free: 17.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003228/0.3969, allocations: 125.3 kB / 374.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004771/0.4016, allocations: 2.284 MB / 376.9 MB, free: 16.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.4017, allocations: 2.219 kB / 376.9 MB, free: 16.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/0.4019, allocations: 50.56 kB / 377 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.402, allocations: 33.12 kB / 377 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004338/0.4063, allocations: 1.997 MB / 379 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009201/0.4155, allocations: 4.782 MB / 383.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.4191, allocations: 1.917 MB / 385.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.4206, allocations: 0.7662 MB / 386.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.4208, allocations: 14.53 kB / 386.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002083/0.4229, allocations: 1.366 MB / 387.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.346e-06/0.4229, allocations: 0 / 387.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.00524/0.4282, allocations: 2.684 MB / 390.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.4283, allocations: 96.55 kB / 390.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.4296, allocations: 0.9409 MB / 391.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002236/0.4299, allocations: 94.81 kB / 391.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.4302, allocations: 424.2 kB / 392.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/0.4305, allocations: 306.5 kB / 392.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.4307, allocations: 31.5 kB / 392.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4309, allocations: 404.6 kB / 392.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.4323, allocations: 0.8747 MB / 393.7 MB, free: 8.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.4336, allocations: 1.039 MB / 394.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.435, allocations: 1.038 MB / 395.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.435, allocations: 0 / 395.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003417/0.4385, allocations: 2.417 MB / 398.2 MB, free: 3.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.4385, allocations: 37.73 kB / 398.2 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4385, allocations: 0.625 kB / 398.2 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.4386, allocations: 12 kB / 398.2 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.439, allocations: 227.6 kB / 398.5 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.4391, allocations: 11.94 kB / 398.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.4404, allocations: 195.1 kB / 398.7 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008341/0.4412, allocations: 1.091 MB / 399.7 MB, free: 2.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].And1.y,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].And1.y,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].And1.y,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].And1.y,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,$PRE.Counter.FF[4].Not1.auxiliary,Enable.y,$PRE.clock.t_i,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00148/0.4427, allocations: 0.9073 MB / 400.7 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.443, allocations: 106.7 kB / 400.8 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.4432, allocations: 134.3 kB / 400.9 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.4433, allocations: 16 kB / 400.9 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.941e-05/0.4433, allocations: 0 / 400.9 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.4433, allocations: 3.984 kB / 400.9 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.4458, allocations: 1.758 MB / 402.7 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4458, allocations: 0 / 402.7 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.4462, allocations: 203.7 kB / 402.9 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.4463, allocations: 7.984 kB / 402.9 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002761/0.4465, allocations: 175.9 kB / 403 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.4466, allocations: 4 kB / 403 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4466, allocations: 3.938 kB / 403.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004002/0.4506, allocations: 2.053 MB / 405.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.4519, allocations: 0.6401 MB / 405.7 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004745/0.4524, allocations: 119.9 kB / 405.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009134/0.4533, allocations: 139.6 kB / 406 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006184/0.4539, allocations: 328.9 kB / 406.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001096/0.455, allocations: 1.089 MB / 407.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008151/0.4558, allocations: 0.5888 MB / 408 MB, free: 9.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4558, allocations: 0 / 408 MB, free: 9.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001407/0.4573, allocations: 379.1 kB / 408.4 MB, free: 9.457 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004532/0.4618, allocations: 2.86 MB / 411.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003666/0.4655, allocations: 2.047 MB / 413.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4655, allocations: 0 / 413.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.4673, allocations: 1.084 MB / 414.4 MB, free: 3.414 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/0.4707, allocations: 0.9231 MB / 415.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/0.4868, allocations: 8.461 MB / 423.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.488, allocations: 1.32 MB / 425.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.008006/0.496, allocations: 3.374 MB / 428.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00529/0.5013, allocations: 1.239 MB / 429.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of SimCode: time 1.724e-06/0.5014, allocations: 0 / 429.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08269/0.5841, allocations: 47.61 MB / 477.3 MB, free: 3.465 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.5843, allocations: 185.5 kB / 477.5 MB, free: 3.219 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.129, allocations: 0 / 477.5 MB, free: 3.219 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat does not exist to compare? outputFormat=mat