Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 98.23 kB / 16.3 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 182.6 kB / 17.2 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 241.1 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003172, allocations: 4 kB / 300.8 MB, free: 6.348 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 50.41 MB / 351.2 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003168/0.1271, allocations: 2.154 MB / 353.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.1299, allocations: 1.178 MB / 354.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.1301, allocations: 8 kB / 354.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.1303, allocations: 55.56 kB / 354.6 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.1305, allocations: 71.73 kB / 354.7 MB, free: 448 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.131, allocations: 127.9 kB / 354.8 MB, free: 320 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.1322, allocations: 1.082 MB / 355.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008933/0.1331, allocations: 0.7038 MB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.1344, allocations: 0.9353 MB / 357.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.1355, allocations: 0.9549 MB / 358.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.1357, allocations: 40 kB / 358.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.1359, allocations: 40 kB / 358.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005693/0.1365, allocations: 446.8 kB / 359 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.1368, allocations: 285 kB / 359.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003782/0.1406, allocations: 3.772 MB / 363.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1406, allocations: 4 kB / 363.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1407, allocations: 0 / 363.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.957e-05/0.1407, allocations: 3.938 kB / 363.1 MB, free: 8.02 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.003892/0.1446, allocations: 1.694 MB / 364.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1447, allocations: 12.03 kB / 364.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000417/0.1451, allocations: 202.1 kB / 365 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/0.1456, allocations: 166 kB / 365.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.1478, allocations: 1.038 MB / 366.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.148, allocations: 102.5 kB / 366.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003313/0.1483, allocations: 124 kB / 366.4 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004103/0.1524, allocations: 2.285 MB / 368.7 MB, free: 2.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.1524, allocations: 0 / 368.7 MB, free: 2.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/0.1527, allocations: 48 kB / 368.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.1527, allocations: 32 kB / 368.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00392/0.1566, allocations: 1.997 MB / 370.7 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2784/0.4351, allocations: 4.768 MB / 375.5 MB, free: 21.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/0.439, allocations: 1.912 MB / 377.4 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.4393, allocations: 17.5 kB / 377.4 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002462/0.4417, allocations: 1.355 MB / 378.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.527e-06/0.4417, allocations: 0 / 378.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005637/0.4474, allocations: 2.694 MB / 381.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.4475, allocations: 99.2 kB / 381.6 MB, free: 19.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.449, allocations: 0.933 MB / 382.5 MB, free: 18.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002711/0.4493, allocations: 99.19 kB / 382.6 MB, free: 18.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.4496, allocations: 412.7 kB / 383 MB, free: 18.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.45, allocations: 313.1 kB / 383.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.4502, allocations: 39.03 kB / 383.4 MB, free: 18.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4504, allocations: 402.8 kB / 383.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.452, allocations: 0.8698 MB / 384.6 MB, free: 17.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.4538, allocations: 1.045 MB / 385.7 MB, free: 16.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.4554, allocations: 1.026 MB / 386.7 MB, free: 16.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4554, allocations: 3.906 kB / 386.7 MB, free: 16.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004054/0.4595, allocations: 2.414 MB / 389.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.4595, allocations: 38.11 kB / 389.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4595, allocations: 3.656 kB / 389.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.4596, allocations: 11.42 kB / 389.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.46, allocations: 228.3 kB / 389.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.46, allocations: 11.73 kB / 389.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.4614, allocations: 193.2 kB / 389.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008063/0.4622, allocations: 1.092 MB / 390.7 MB, free: 14.41 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.001361/0.4636, allocations: 0.8991 MB / 391.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/0.4639, allocations: 106.8 kB / 391.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.4641, allocations: 131.1 kB / 391.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.4641, allocations: 15.95 kB / 391.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/0.4641, allocations: 0 / 391.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4641, allocations: 7.969 kB / 391.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.4666, allocations: 1.761 MB / 393.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4666, allocations: 0 / 393.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.467, allocations: 203.7 kB / 393.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.467, allocations: 4 kB / 393.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/0.4672, allocations: 183.8 kB / 394 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.4672, allocations: 14.25 kB / 394 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4672, allocations: 0 / 394 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/0.4703, allocations: 2.045 MB / 396 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/0.4718, allocations: 0.6359 MB / 396.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004175/0.4722, allocations: 123.9 kB / 396.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/0.4731, allocations: 157.1 kB / 397 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005318/0.4736, allocations: 324.9 kB / 397.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007167/0.4744, allocations: 1.081 MB / 398.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007088/0.4751, allocations: 0.5888 MB / 398.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4751, allocations: 0 / 398.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001558/0.4766, allocations: 383 kB / 399.3 MB, free: 5.723 MB / 302.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.003837/0.4805, allocations: 2.852 MB / 402.2 MB, free: 2.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003473/0.484, allocations: 2.042 MB / 404.2 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.484, allocations: 0 / 404.2 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.4856, allocations: 1.092 MB / 405.3 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/0.4891, allocations: 0.9119 MB / 406.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.5061, allocations: 10.21 MB / 416.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.5072, allocations: 1.34 MB / 417.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.007171/0.5144, allocations: 3.378 MB / 421.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003491/0.5179, allocations: 1.243 MB / 422.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5179, allocations: 0 / 422.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07581/0.5938, allocations: 47.56 MB / 469.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.594, allocations: 183.5 kB / 470.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.091, allocations: 3.75 kB / 470.1 MB, free: 13.86 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat does not exist to compare? outputFormat=mat