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: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 106.2 kB / 16.51 MB, free: 6.707 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.001717/0.001717, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 48.52 kB / 299.9 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1064, allocations: 49.45 MB / 349.4 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004061/0.1105, allocations: 2.62 MB / 352 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.1132, allocations: 1.228 MB / 353.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.1134, allocations: 7.938 kB / 353.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.1137, allocations: 47.62 kB / 353.3 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.1139, allocations: 59.5 kB / 353.4 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.1145, allocations: 211.8 kB / 353.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.1162, allocations: 1.842 MB / 355.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.1174, allocations: 0.9282 MB / 356.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.1194, allocations: 1.89 MB / 358.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.1207, allocations: 0.9375 MB / 359.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004755/0.1211, allocations: 68 kB / 359.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004351/0.1216, allocations: 72 kB / 359.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006336/0.1222, allocations: 474.1 kB / 359.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.1235, allocations: 0.7377 MB / 360.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003739/0.1272, allocations: 4.246 MB / 364.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1272, allocations: 0 / 364.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1273, allocations: 0 / 364.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.287e-05/0.1274, allocations: 0 / 364.7 MB, free: 5.309 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.008521/0.1359, allocations: 2.313 MB / 367.1 MB, free: 2.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.136, allocations: 8.031 kB / 367.1 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.1371, allocations: 171 kB / 367.2 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/0.1401, allocations: 1.062 MB / 368.3 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.1403, allocations: 94.91 kB / 368.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008216/0.1412, allocations: 124.4 kB / 368.5 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2525/0.3937, allocations: 2.287 MB / 370.8 MB, free: 22.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.069e-05/0.3938, allocations: 0.75 kB / 370.8 MB, free: 22.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008354/0.3947, allocations: 50.5 kB / 370.8 MB, free: 22.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/0.3948, allocations: 30.28 kB / 370.9 MB, free: 22.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009386/0.4042, allocations: 1.979 MB / 372.9 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.4201, allocations: 4.783 MB / 377.6 MB, free: 20.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006454/0.4266, allocations: 1.861 MB / 379.5 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.4291, allocations: 0.7628 MB / 380.3 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003649/0.4295, allocations: 15.27 kB / 380.3 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003448/0.433, allocations: 1.353 MB / 381.6 MB, free: 19.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 5.21e-06/0.433, allocations: 0.875 kB / 381.6 MB, free: 19.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.006253/0.4393, allocations: 2.666 MB / 384.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.4394, allocations: 100.7 kB / 384.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.4413, allocations: 0.9427 MB / 385.3 MB, free: 17.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004053/0.4417, allocations: 99.03 kB / 385.4 MB, free: 17.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.4422, allocations: 463.6 kB / 385.9 MB, free: 16.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006398/0.4428, allocations: 313.8 kB / 386.2 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001819/0.4447, allocations: 0.666 MB / 386.9 MB, free: 16.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.4449, allocations: 406.2 kB / 387.3 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002558/0.4475, allocations: 0.8625 MB / 388.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/0.45, allocations: 1.042 MB / 389.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005019/0.455, allocations: 1.946 MB / 391.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.455, allocations: 4 kB / 391.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006848/0.4619, allocations: 2.397 MB / 393.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.685e-05/0.462, allocations: 45.62 kB / 393.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.462, allocations: 4 kB / 393.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.035e-05/0.4621, allocations: 8 kB / 393.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/0.4629, allocations: 227.5 kB / 393.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.182e-05/0.463, allocations: 8 kB / 393.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.4654, allocations: 197.4 kB / 394 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/0.4667, allocations: 1.085 MB / 395.1 MB, free: 9.797 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,$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.002371/0.4691, allocations: 0.9054 MB / 396 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006772/0.4698, allocations: 102.8 kB / 396.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.4702, allocations: 130.3 kB / 396.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.4702, allocations: 15.94 kB / 396.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.58e-05/0.4703, allocations: 3.938 kB / 396.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.4703, allocations: 7.969 kB / 396.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004234/0.4745, allocations: 1.758 MB / 398 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/0.4746, allocations: 4 kB / 398 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.4753, allocations: 203.7 kB / 398.2 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.75e-05/0.4754, allocations: 4 kB / 398.2 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004208/0.4758, allocations: 179.9 kB / 398.4 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.4758, allocations: 7.938 kB / 398.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4758, allocations: 0.6562 kB / 398.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005854/0.4817, allocations: 2.03 MB / 400.4 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/0.4835, allocations: 0.6539 MB / 401.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006423/0.4841, allocations: 115.9 kB / 401.2 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.4854, allocations: 147.4 kB / 401.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006769/0.4861, allocations: 329 kB / 401.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008162/0.4869, allocations: 1.085 MB / 402.7 MB, free: 2.035 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007174/0.4877, allocations: 0.5973 MB / 403.3 MB, free: 1.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4877, allocations: 0 / 403.3 MB, free: 1.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001454/0.4891, allocations: 383.2 kB / 403.7 MB, free: 1.07 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 (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.0004998/0.4896, allocations: 363.6 kB / 404.1 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003757/0.4934, allocations: 2.037 MB / 406.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4934, allocations: 0 / 406.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001997/0.4954, allocations: 1.1 MB / 407.2 MB, free: 13.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/0.4991, allocations: 0.9628 MB / 408.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005584/0.5047, allocations: 3.318 MB / 411.5 MB, free: 9.262 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.5059, allocations: 1.32 MB / 412.8 MB, free: 7.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.007538/0.5134, allocations: 3.378 MB / 416.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003496/0.5169, allocations: 0.923 MB / 417.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of SimCode: time 1.403e-06/0.517, allocations: 0 / 417.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of Templates: time 0.05173/0.5687, allocations: 39.42 MB / 456.5 MB, free: 11.37 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches