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.0009481/0.0009479, allocations: 88.83 kB / 16.31 MB, free: 6.449 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.001046/0.001046, allocations: 179.3 kB / 17.21 MB, free: 6.32 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.421/1.421, allocations: 223.2 MB / 241.2 MB, free: 5.383 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002685, allocations: 8.203 kB / 300.9 MB, free: 5.953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1112, allocations: 50.42 MB / 351.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002655/0.1139, allocations: 2.144 MB / 353.5 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.116, allocations: 1.185 MB / 354.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1162, allocations: 7.938 kB / 354.7 MB, free: 8.223 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.1164, allocations: 39.62 kB / 354.7 MB, free: 8.184 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.1165, allocations: 55.5 kB / 354.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.1171, allocations: 143.8 kB / 354.9 MB, free: 7.988 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.1186, allocations: 1.714 MB / 356.6 MB, free: 6.273 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000806/0.1194, allocations: 0.7116 MB / 357.3 MB, free: 5.539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.1212, allocations: 1.435 MB / 358.8 MB, free: 4.102 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009595/0.1222, allocations: 0.9627 MB / 359.7 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.1224, allocations: 40 kB / 359.8 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.1226, allocations: 44 kB / 359.8 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.1231, allocations: 450.8 kB / 360.3 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.1234, allocations: 285 kB / 360.5 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.1261, allocations: 3.775 MB / 364.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1261, allocations: 3.938 kB / 364.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1261, allocations: 0 / 364.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.222e-05/0.1262, allocations: 0 / 364.3 MB, free: 14.54 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.002596/0.1288, allocations: 1.701 MB / 366 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1288, allocations: 12.03 kB / 366 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003282/0.1292, allocations: 206 kB / 366.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.1295, allocations: 170 kB / 366.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.131, allocations: 1.026 MB / 367.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.729e-05/0.1311, allocations: 98.48 kB / 367.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.1313, allocations: 124 kB / 367.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003786/0.1351, allocations: 2.293 MB / 369.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.1352, allocations: 0 / 369.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/0.1354, allocations: 48 kB / 370 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.1354, allocations: 32 kB / 370 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003506/0.1389, allocations: 1.993 MB / 372 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007247/0.1462, allocations: 4.785 MB / 376.8 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003638/0.1499, allocations: 1.918 MB / 378.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.1513, allocations: 0.7659 MB / 379.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.1515, allocations: 13.31 kB / 379.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002089/0.1536, allocations: 1.356 MB / 380.8 MB, free: 13.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.519e-06/0.1536, allocations: 3.938 kB / 380.8 MB, free: 13.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=128): time 0.004906/0.1586, allocations: 2.693 MB / 383.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.1586, allocations: 98.42 kB / 383.6 MB, free: 10.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.16, allocations: 0.9368 MB / 384.6 MB, free: 9.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002204/0.1602, allocations: 101.6 kB / 384.7 MB, free: 9.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.1605, allocations: 413.3 kB / 385.1 MB, free: 9.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003851/0.1609, allocations: 320.2 kB / 385.4 MB, free: 9.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.1611, allocations: 28 kB / 385.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1613, allocations: 410.7 kB / 385.8 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.1628, allocations: 0.8666 MB / 386.7 MB, free: 7.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.1644, allocations: 1.051 MB / 387.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.166, allocations: 1.034 MB / 388.8 MB, free: 5.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1661, allocations: 0 / 388.8 MB, free: 5.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004019/0.1701, allocations: 2.405 MB / 391.2 MB, free: 3.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.1702, allocations: 37.69 kB / 391.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.1702, allocations: 4 kB / 391.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.1702, allocations: 11.94 kB / 391.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.1707, allocations: 231.5 kB / 391.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.1708, allocations: 12 kB / 391.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.1719, allocations: 191.3 kB / 391.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009883/0.1729, allocations: 1.089 MB / 392.7 MB, free: 1.738 MB / 318.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.001389/0.1743, allocations: 0.9079 MB / 393.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.1746, allocations: 106.8 kB / 393.7 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.1748, allocations: 126.3 kB / 393.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.1748, allocations: 15.98 kB / 393.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.1749, allocations: 0 / 393.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.1749, allocations: 11.97 kB / 393.9 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.1771, allocations: 1.751 MB / 395.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1771, allocations: 0 / 395.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.1776, allocations: 211.7 kB / 395.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.1776, allocations: 4 kB / 395.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/0.1778, allocations: 175.9 kB / 396 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.1778, allocations: 4 kB / 396 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1778, allocations: 0 / 396 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/0.1813, allocations: 2.053 MB / 398.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.1823, allocations: 0.6479 MB / 398.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003853/0.1827, allocations: 115.9 kB / 398.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006795/0.1834, allocations: 147.5 kB / 399 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000549/0.184, allocations: 321 kB / 399.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009852/0.185, allocations: 1.085 MB / 400.4 MB, free: 9.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007494/0.1857, allocations: 0.5849 MB / 401 MB, free: 9.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1857, allocations: 0 / 401 MB, free: 9.367 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001303/0.1871, allocations: 383.2 kB / 401.4 MB, free: 8.992 MB / 334.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.004193/0.1913, allocations: 2.864 MB / 404.2 MB, free: 6.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003735/0.195, allocations: 2.049 MB / 406.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.195, allocations: 4 kB / 406.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.1968, allocations: 1.088 MB / 407.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/0.2, allocations: 0.9244 MB / 408.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.2151, allocations: 8.456 MB / 416.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.2162, allocations: 1.316 MB / 418.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.005901/0.2221, allocations: 3.378 MB / 421.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002938/0.2251, allocations: 1.243 MB / 422.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2251, allocations: 0 / 422.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2701/0.4952, allocations: 47.6 MB / 470.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.4954, allocations: 181.3 kB / 470.4 MB, free: 30.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.047, allocations: 0 / 470.4 MB, free: 30.67 MB / 350.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