Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_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.0009476/0.0009476, allocations: 91.48 kB / 16.95 MB, free: 6.113 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.0009955/0.0009957, allocations: 181 kB / 17.84 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005594/0.0005594, allocations: 12 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 47.58 MB / 328.5 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003561/0.126, allocations: 2.154 MB / 330.6 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003209/0.1292, allocations: 1.221 MB / 331.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.1295, allocations: 4 kB / 331.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.1297, allocations: 51.56 kB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1299, allocations: 43.58 kB / 331.9 MB, free: 496 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.1304, allocations: 147.8 kB / 332.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.1321, allocations: 1.71 MB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009325/0.133, allocations: 0.7038 MB / 334.5 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.1352, allocations: 1.447 MB / 335.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.1363, allocations: 0.9626 MB / 336.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.1365, allocations: 40 kB / 336.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.1368, allocations: 40 kB / 337 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005579/0.1373, allocations: 454.9 kB / 337.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.1376, allocations: 281 kB / 337.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003212/0.1408, allocations: 3.776 MB / 341.5 MB, free: 6.898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.1408, allocations: 0 / 341.5 MB, free: 6.898 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1409, allocations: 4 kB / 341.5 MB, free: 6.895 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.524e-05/0.1409, allocations: 0 / 341.5 MB, free: 6.895 MB / 286.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.003235/0.1442, allocations: 1.704 MB / 343.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.1442, allocations: 12.03 kB / 343.2 MB, free: 5.113 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003738/0.1446, allocations: 206 kB / 343.4 MB, free: 4.902 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/0.145, allocations: 170 kB / 343.6 MB, free: 4.734 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.1467, allocations: 1.038 MB / 344.6 MB, free: 3.656 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.78e-05/0.1468, allocations: 98.53 kB / 344.7 MB, free: 3.559 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/0.1471, allocations: 120 kB / 344.8 MB, free: 3.441 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004082/0.1512, allocations: 2.285 MB / 347.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.1513, allocations: 3.984 kB / 347.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.1516, allocations: 55.98 kB / 347.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/0.1516, allocations: 28 kB / 347.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004038/0.1557, allocations: 2.001 MB / 349.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008373/0.1641, allocations: 4.777 MB / 354 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.1679, allocations: 1.902 MB / 355.9 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.1693, allocations: 0.7698 MB / 356.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/0.1696, allocations: 17.3 kB / 356.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/0.1719, allocations: 1.359 MB / 358 MB, free: 6.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.408e-06/0.1719, allocations: 0 / 358 MB, free: 6.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005416/0.1774, allocations: 2.7 MB / 360.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/0.1775, allocations: 90.42 kB / 360.8 MB, free: 3.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.1792, allocations: 0.9329 MB / 361.7 MB, free: 2.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000252/0.1794, allocations: 101.6 kB / 361.8 MB, free: 2.254 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006235/0.1801, allocations: 413.3 kB / 362.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005212/0.1806, allocations: 324.1 kB / 362.5 MB, free: 1.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.1808, allocations: 27.98 kB / 362.6 MB, free: 1.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002782/0.1811, allocations: 406.7 kB / 363 MB, free: 1.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.1827, allocations: 0.8744 MB / 363.8 MB, free: 216 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.1846, allocations: 1.047 MB / 364.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.1866, allocations: 1.034 MB / 365.9 MB, free: 14.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.1866, allocations: 4 kB / 365.9 MB, free: 14.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00462/0.1913, allocations: 2.416 MB / 368.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/0.1913, allocations: 29.7 kB / 368.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.1914, allocations: 4 kB / 368.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.567e-05/0.1914, allocations: 11.95 kB / 368.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.192, allocations: 231.6 kB / 368.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.345e-05/0.1921, allocations: 11.98 kB / 368.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.1935, allocations: 195.2 kB / 368.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/0.1947, allocations: 1.093 MB / 369.9 MB, free: 10.07 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.002003/0.1967, allocations: 0.8963 MB / 370.8 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/0.1971, allocations: 106.8 kB / 370.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.1974, allocations: 134.3 kB / 371 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.1975, allocations: 15.95 kB / 371.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/0.1975, allocations: 0 / 371.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.1975, allocations: 7.969 kB / 371.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/0.2008, allocations: 1.743 MB / 372.8 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.2008, allocations: 0 / 372.8 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.2013, allocations: 211.7 kB / 373 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-05/0.2013, allocations: 4 kB / 373 MB, free: 6.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003122/0.2017, allocations: 179.8 kB / 373.2 MB, free: 6.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.44e-05/0.2017, allocations: 4 kB / 373.2 MB, free: 6.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2017, allocations: 3.938 kB / 373.2 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004287/0.206, allocations: 2.053 MB / 375.3 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.2072, allocations: 0.6518 MB / 375.9 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005103/0.2078, allocations: 115.9 kB / 376 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009792/0.2087, allocations: 151.4 kB / 376.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006044/0.2094, allocations: 325 kB / 376.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00119/0.2106, allocations: 1.085 MB / 377.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009696/0.2115, allocations: 0.5849 MB / 378.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2115, allocations: 0 / 378.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001757/0.2133, allocations: 379.2 kB / 378.5 MB, free: 1.328 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.2561/0.4695, allocations: 2.853 MB / 381.4 MB, free: 49.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005182/0.4747, allocations: 2.048 MB / 383.4 MB, free: 49.31 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.4747, allocations: 1.969 kB / 383.4 MB, free: 49.31 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.4772, allocations: 1.095 MB / 384.5 MB, free: 49.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004149/0.4814, allocations: 0.9206 MB / 385.4 MB, free: 49.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.4998, allocations: 8.445 MB / 393.9 MB, free: 45.58 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.5009, allocations: 1.325 MB / 395.2 MB, free: 44.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.006234/0.5072, allocations: 3.385 MB / 398.6 MB, free: 42.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002992/0.5102, allocations: 1.241 MB / 399.8 MB, free: 41.61 MB / 318.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5102, allocations: 0 / 399.8 MB, free: 41.61 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06479/0.575, allocations: 47.6 MB / 447.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.5752, allocations: 173.3 kB / 447.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.34, allocations: 0 / 447.6 MB, free: 9.68 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat does not exist to compare? outputFormat=mat