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.001095/0.001095, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002434/0.0002435, allocations: 8 kB / 306.7 MB, free: 1.512 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1172, allocations: 51.49 MB / 358.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002961/0.1202, allocations: 2.158 MB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.1227, allocations: 1.225 MB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.1229, allocations: 7.938 kB / 361.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.1231, allocations: 43.62 kB / 361.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.1233, allocations: 67.75 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.1238, allocations: 135.8 kB / 361.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.1249, allocations: 1.086 MB / 362.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000857/0.1258, allocations: 0.7038 MB / 363.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.127, allocations: 0.9314 MB / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000983/0.128, allocations: 0.9588 MB / 365.5 MB, free: 6.672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.1282, allocations: 40 kB / 365.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.1284, allocations: 40 kB / 365.6 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005268/0.129, allocations: 446.9 kB / 366 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.1292, allocations: 280.9 kB / 366.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.1321, allocations: 3.772 MB / 370.1 MB, free: 2.094 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1321, allocations: 4 kB / 370.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1321, allocations: 0 / 370.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.621e-05/0.1321, allocations: 0 / 370.1 MB, free: 2.09 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.003009/0.1351, allocations: 1.701 MB / 371.8 MB, free: 332 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.1352, allocations: 8.031 kB / 371.8 MB, free: 324 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003715/0.1356, allocations: 202 kB / 372 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2502/0.3858, allocations: 170.2 kB / 372.1 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00416/0.39, allocations: 1.025 MB / 373.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.3902, allocations: 102.8 kB / 373.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007078/0.3909, allocations: 122.5 kB / 373.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006186/0.3971, allocations: 2.274 MB / 375.7 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.3972, allocations: 0.7188 kB / 375.7 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/0.3974, allocations: 51.75 kB / 375.7 MB, free: 16.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/0.3975, allocations: 31.53 kB / 375.7 MB, free: 16.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/0.402, allocations: 2 MB / 377.7 MB, free: 16.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/0.4121, allocations: 4.781 MB / 382.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/0.416, allocations: 1.917 MB / 384.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.4162, allocations: 19.27 kB / 384.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002128/0.4184, allocations: 1.362 MB / 385.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.739e-06/0.4184, allocations: 0 / 385.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005558/0.4239, allocations: 2.688 MB / 388.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.424, allocations: 92.27 kB / 388.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.4254, allocations: 0.9285 MB / 389.5 MB, free: 11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.4257, allocations: 100.2 kB / 389.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.426, allocations: 423.5 kB / 390 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/0.4264, allocations: 308.8 kB / 390.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.4266, allocations: 35.52 kB / 390.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4267, allocations: 406.7 kB / 390.8 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.4282, allocations: 0.8697 MB / 391.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.4297, allocations: 1.043 MB / 392.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.4312, allocations: 1.029 MB / 393.7 MB, free: 7.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.4312, allocations: 4 kB / 393.7 MB, free: 7.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003457/0.4347, allocations: 2.421 MB / 396.1 MB, free: 5.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.4347, allocations: 33.64 kB / 396.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4347, allocations: 4 kB / 396.2 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.4348, allocations: 9.125 kB / 396.2 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.4352, allocations: 227.6 kB / 396.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.4352, allocations: 11.94 kB / 396.4 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.4366, allocations: 191.3 kB / 396.6 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007638/0.4374, allocations: 1.097 MB / 397.7 MB, free: 3.828 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.001375/0.4388, allocations: 0.8977 MB / 398.6 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.4391, allocations: 102.8 kB / 398.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.4393, allocations: 139.2 kB / 398.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.4393, allocations: 15.94 kB / 398.9 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-05/0.4393, allocations: 0 / 398.9 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4393, allocations: 7.969 kB / 398.9 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.4418, allocations: 1.756 MB / 400.6 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4418, allocations: 0 / 400.6 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.4421, allocations: 213.1 kB / 400.8 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.4422, allocations: 4 kB / 400.8 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/0.4424, allocations: 175.9 kB / 401 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.4424, allocations: 4 kB / 401 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4424, allocations: 0 / 401 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/0.4458, allocations: 2.053 MB / 403.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/0.4474, allocations: 0.6402 MB / 403.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004576/0.4478, allocations: 115.9 kB / 403.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008632/0.4487, allocations: 147.5 kB / 404 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006648/0.4494, allocations: 329 kB / 404.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001144/0.4506, allocations: 1.085 MB / 405.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009288/0.4515, allocations: 0.5849 MB / 405.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4515, allocations: 0 / 405.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001737/0.4532, allocations: 383.1 kB / 406.3 MB, free: 11.12 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.004408/0.4577, allocations: 2.86 MB / 409.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003707/0.4614, allocations: 2.05 MB / 411.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4614, allocations: 4.062 kB / 411.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.4633, allocations: 1.084 MB / 412.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/0.4668, allocations: 0.9011 MB / 413.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01883/0.4856, allocations: 10.21 MB / 423.4 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.4869, allocations: 1.348 MB / 424.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.006954/0.4938, allocations: 3.378 MB / 428.2 MB, free: 4.977 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003318/0.4972, allocations: 1.239 MB / 429.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4972, allocations: 3.938 kB / 429.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07034/0.5675, allocations: 47.57 MB / 477 MB, free: 3.375 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.5678, allocations: 172.6 kB / 477.1 MB, free: 3.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/2.948, allocations: 0 / 477.1 MB, free: 3.137 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