Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002429/0.002436, allocations: 186.3 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 222.5 MB, free: 13.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001689/0.001688, allocations: 94.86 kB / 270.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003888, allocations: 8 kB / 327.1 MB, free: 14.94 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 47.57 MB / 374.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00364/0.1081, allocations: 2.154 MB / 376.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004003/0.1122, allocations: 1.229 MB / 378 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003484/0.1126, allocations: 4 kB / 378 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.1129, allocations: 47.62 kB / 378.1 MB, free: 11.83 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.1132, allocations: 67.75 kB / 378.1 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000755/0.1139, allocations: 135.8 kB / 378.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002065/0.116, allocations: 1.082 MB / 379.3 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.1175, allocations: 0.7077 MB / 380.1 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.1199, allocations: 0.9391 MB / 381 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.1219, allocations: 0.9549 MB / 381.9 MB, free: 7.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007258/0.1226, allocations: 40 kB / 382 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.1232, allocations: 43.94 kB / 382 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.1243, allocations: 446.9 kB / 382.5 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005026/0.1249, allocations: 284.9 kB / 382.7 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00494/0.1298, allocations: 3.768 MB / 386.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1299, allocations: 0 / 386.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.137e-06/0.1299, allocations: 4 kB / 386.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.907e-05/0.13, allocations: 4 kB / 386.5 MB, free: 3.328 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.006029/0.136, allocations: 1.689 MB / 388.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.1361, allocations: 12.03 kB / 388.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001352/0.1375, allocations: 202 kB / 388.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.139, allocations: 174 kB / 388.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003711/0.1427, allocations: 1.03 MB / 389.6 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.143, allocations: 98.47 kB / 389.7 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2626/0.4056, allocations: 121.8 kB / 389.8 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.4158, allocations: 2.274 MB / 392.1 MB, free: 17.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.766e-05/0.4159, allocations: 1.547 kB / 392.1 MB, free: 17.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006738/0.4166, allocations: 51.91 kB / 392.2 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/0.4166, allocations: 32.5 kB / 392.2 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008524/0.4252, allocations: 2.001 MB / 394.2 MB, free: 17.29 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/0.443, allocations: 4.778 MB / 399 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008032/0.4511, allocations: 1.911 MB / 400.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007336/0.4519, allocations: 18.52 kB / 400.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004962/0.4569, allocations: 1.355 MB / 402.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 6.142e-06/0.457, allocations: 0 / 402.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=128): time 0.01219/0.4692, allocations: 2.696 MB / 404.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.4693, allocations: 91.39 kB / 405 MB, free: 12.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.4714, allocations: 0.9375 MB / 406 MB, free: 12.22 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009396/0.4724, allocations: 99.75 kB / 406.1 MB, free: 12.15 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005678/0.473, allocations: 445.8 kB / 406.5 MB, free: 11.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001221/0.4742, allocations: 312.9 kB / 406.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.4747, allocations: 40.56 kB / 406.9 MB, free: 11.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4749, allocations: 363.8 kB / 407.2 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/0.4781, allocations: 0.8731 MB / 408.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/0.4816, allocations: 1.041 MB / 409.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003396/0.4851, allocations: 1.027 MB / 410.1 MB, free: 8.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/0.4851, allocations: 0 / 410.1 MB, free: 8.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.008254/0.4934, allocations: 2.384 MB / 412.5 MB, free: 6.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.212e-05/0.4935, allocations: 29.7 kB / 412.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.4935, allocations: 7.312 kB / 412.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.882e-05/0.4936, allocations: 11.94 kB / 412.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.4948, allocations: 231.6 kB / 412.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.648e-05/0.4949, allocations: 8 kB / 412.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/0.4974, allocations: 200.8 kB / 413 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/0.4992, allocations: 1.093 MB / 414.1 MB, free: 4.934 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,Counter.FF[1].RS2.Nor2.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.002698/0.5019, allocations: 0.8991 MB / 415 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006614/0.5026, allocations: 102.8 kB / 415.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.503, allocations: 130.3 kB / 415.2 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.503, allocations: 15.98 kB / 415.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.528e-05/0.503, allocations: 0 / 415.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.5031, allocations: 7.109 kB / 415.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004702/0.5078, allocations: 1.759 MB / 417 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-05/0.5079, allocations: 0 / 417 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.509, allocations: 207.7 kB / 417.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/0.5091, allocations: 4 kB / 417.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005455/0.5096, allocations: 179.9 kB / 417.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/0.5097, allocations: 8.609 kB / 417.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5097, allocations: 1.312 kB / 417.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007232/0.5169, allocations: 2.049 MB / 419.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002712/0.5197, allocations: 0.6413 MB / 420.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/0.5208, allocations: 115.9 kB / 420.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/0.5232, allocations: 147.5 kB / 420.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001532/0.5248, allocations: 328.9 kB / 420.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002189/0.527, allocations: 1.081 MB / 421.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001403/0.5285, allocations: 0.5849 MB / 422.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5285, allocations: 0 / 422.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002914/0.5314, allocations: 387 kB / 422.7 MB, free: 12.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,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.009778/0.5412, allocations: 2.86 MB / 425.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.007634/0.5489, allocations: 2.051 MB / 427.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.549, allocations: 3.938 kB / 427.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004158/0.5532, allocations: 1.069 MB / 428.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006782/0.56, allocations: 0.8923 MB / 429.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03281/0.5929, allocations: 10.33 MB / 439.9 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/0.5949, allocations: 1.351 MB / 441.3 MB, free: 9.359 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009426/0.6043, allocations: 1.633 MB / 442.9 MB, free: 7.723 MB / 314.7 MB Notification: Performance of SimCode: time 1.163e-06/0.6044, allocations: 4 kB / 442.9 MB, free: 7.719 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.999/3.603, allocations: 38.42 MB / 481.3 MB, free: 15.68 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter_res.mat does not exist to compare? outputFormat=mat