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.001132/0.001132, allocations: 103.5 kB / 17.58 MB, free: 5.414 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.00137/0.00137, allocations: 191.9 kB / 18.5 MB, free: 4.516 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.36/1.36, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001184/0.001184, allocations: 59.92 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.0873, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003809/0.09114, allocations: 2.591 MB / 330 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.09378, allocations: 1.287 MB / 331.3 MB, free: 488 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.09393, allocations: 7.938 kB / 331.3 MB, free: 480 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.09415, allocations: 67.38 kB / 331.3 MB, free: 412 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.09431, allocations: 71.31 kB / 331.4 MB, free: 340 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.09487, allocations: 235.6 kB / 331.6 MB, free: 104 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.0966, allocations: 2.065 MB / 333.7 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.09766, allocations: 0.9398 MB / 334.6 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.09976, allocations: 2.109 MB / 336.7 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.1011, allocations: 1.059 MB / 337.8 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004878/0.1016, allocations: 216 kB / 338 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004639/0.1021, allocations: 216 kB / 338.2 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007011/0.1028, allocations: 0.6192 MB / 338.8 MB, free: 8.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.104, allocations: 0.894 MB / 339.7 MB, free: 7.961 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003556/0.1075, allocations: 4.347 MB / 344.1 MB, free: 3.602 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1076, allocations: 0 / 344.1 MB, free: 3.602 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1076, allocations: 0 / 344.1 MB, free: 3.602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.281e-05/0.1076, allocations: 0 / 344.1 MB, free: 3.602 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.004136/0.1118, allocations: 2.309 MB / 346.4 MB, free: 1.227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1118, allocations: 12.03 kB / 346.4 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003794/0.1122, allocations: 198.2 kB / 346.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/0.1127, allocations: 167 kB / 346.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.1143, allocations: 1.062 MB / 347.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.086e-05/0.1144, allocations: 102.9 kB / 347.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003162/0.1148, allocations: 124.4 kB / 348 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00392/0.1187, allocations: 2.285 MB / 350.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.1187, allocations: 3.984 kB / 350.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/0.119, allocations: 56 kB / 350.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.119, allocations: 28 kB / 350.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003736/0.1228, allocations: 1.985 MB / 352.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009056/0.1318, allocations: 4.867 MB / 357.3 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003977/0.1358, allocations: 1.855 MB / 359.1 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.1375, allocations: 0.762 MB / 359.9 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.1377, allocations: 17.3 kB / 359.9 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002317/0.1401, allocations: 1.363 MB / 361.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.508e-06/0.1401, allocations: 0 / 361.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005499/0.1456, allocations: 2.661 MB / 363.9 MB, free: 15.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.1457, allocations: 94.42 kB / 364 MB, free: 15.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.1472, allocations: 0.9446 MB / 365 MB, free: 14.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002918/0.1475, allocations: 97.64 kB / 365.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.148, allocations: 461.2 kB / 365.5 MB, free: 13.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005141/0.1485, allocations: 320.2 kB / 365.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001272/0.1498, allocations: 0.6672 MB / 366.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.15, allocations: 402.7 kB / 366.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.1517, allocations: 0.8666 MB / 367.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.1535, allocations: 1.039 MB / 368.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.1571, allocations: 1.95 MB / 370.7 MB, free: 8.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.1572, allocations: 0 / 370.7 MB, free: 8.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004587/0.1618, allocations: 2.4 MB / 373.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.1618, allocations: 37.64 kB / 373.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.1619, allocations: 0 / 373.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.955e-05/0.1619, allocations: 16.03 kB / 373.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.1625, allocations: 231.5 kB / 373.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-05/0.1625, allocations: 11.98 kB / 373.4 MB, free: 5.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.1633, allocations: 75.61 kB / 373.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/0.1644, allocations: 1.093 MB / 374.6 MB, free: 4.652 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,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,Clock.t_i,$PRE.Clock.t_i,Enable.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001662/0.166, allocations: 0.9002 MB / 375.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/0.1665, allocations: 102.8 kB / 375.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.1669, allocations: 138.3 kB / 375.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.1669, allocations: 12 kB / 375.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.1669, allocations: 0 / 375.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.167, allocations: 11.91 kB / 375.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.1701, allocations: 1.759 MB / 377.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.1701, allocations: 4 kB / 377.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.1707, allocations: 207.7 kB / 377.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.1707, allocations: 4 kB / 377.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/0.171, allocations: 179.9 kB / 377.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.171, allocations: 4 kB / 377.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.171, allocations: 0 / 377.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1591/0.3302, allocations: 2.033 MB / 379.9 MB, free: 51.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/0.3317, allocations: 0.6407 MB / 380.6 MB, free: 51.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006082/0.3323, allocations: 123.9 kB / 380.7 MB, free: 51.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/0.3329, allocations: 42.59 kB / 380.7 MB, free: 51.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008681/0.3338, allocations: 340.6 kB / 381.1 MB, free: 51.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001003/0.3348, allocations: 1.08 MB / 382.2 MB, free: 51.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008267/0.3356, allocations: 0.5938 MB / 382.7 MB, free: 51.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.3356, allocations: 4.688 kB / 382.7 MB, free: 51.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001515/0.3371, allocations: 380.6 kB / 383.1 MB, free: 51.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004537/0.3417, allocations: 2.831 MB / 386 MB, free: 50.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006482/0.3482, allocations: 3.288 MB / 389.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.3482, allocations: 0 / 389.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001956/0.3502, allocations: 1.105 MB / 390.3 MB, free: 49.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/0.3539, allocations: 1.065 MB / 391.4 MB, free: 48.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.3688, allocations: 12.05 MB / 403.5 MB, free: 39.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/0.3696, allocations: 1.316 MB / 404.8 MB, free: 37.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.005309/0.375, allocations: 3.37 MB / 408.2 MB, free: 34.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003044/0.378, allocations: 1.247 MB / 409.4 MB, free: 33.07 MB / 318.1 MB Notification: Performance of SimCode: time 8.81e-07/0.378, allocations: 0 / 409.4 MB, free: 33.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07015/0.4482, allocations: 49.54 MB / 458.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.735, allocations: 8.422 kB / 458.9 MB, free: 14.46 MB / 350.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches