Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002621/0.002621, allocations: 187.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.708/3.708, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001736/0.001736, allocations: 90.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008045/0.0008046, allocations: 12 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1701, allocations: 47.59 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.005576/0.1758, allocations: 2.146 MB / 376.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006048/0.1819, allocations: 1.229 MB / 377.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005524/0.1826, allocations: 3.938 kB / 377.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.1829, allocations: 47.62 kB / 378 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.1834, allocations: 71.75 kB / 378 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.1845, allocations: 139.8 kB / 378.2 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003666/0.1882, allocations: 1.079 MB / 379.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.1908, allocations: 0.7116 MB / 380 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007335/0.1982, allocations: 0.9352 MB / 380.9 MB, free: 9.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.2009, allocations: 0.9549 MB / 381.9 MB, free: 8.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005547/0.2065, allocations: 40 kB / 381.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009915/0.2075, allocations: 40 kB / 381.9 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001549/0.2091, allocations: 446.9 kB / 382.4 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005331/0.2145, allocations: 284.9 kB / 382.6 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.2268, allocations: 3.768 MB / 386.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2268, allocations: 0 / 386.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.04e-06/0.2269, allocations: 0 / 386.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001144/0.227, allocations: 0 / 386.4 MB, free: 3.492 MB / 282.7 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.01318/0.2402, allocations: 1.697 MB / 388.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.002e-05/0.2403, allocations: 8.031 kB / 388.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/0.2427, allocations: 178 kB / 388.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005721/0.2485, allocations: 1.03 MB / 389.3 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003294/0.2489, allocations: 98.53 kB / 389.4 MB, free: 388 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001988/0.2509, allocations: 128 kB / 389.5 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4641/0.7151, allocations: 2.268 MB / 391.8 MB, free: 17.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.757e-05/0.7153, allocations: 0.9688 kB / 391.8 MB, free: 17.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/0.7165, allocations: 56.09 kB / 391.9 MB, free: 17.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-05/0.7166, allocations: 32.92 kB / 391.9 MB, free: 17.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.7287, allocations: 1.996 MB / 393.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02452/0.7533, allocations: 4.785 MB / 398.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.7646, allocations: 1.906 MB / 400.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009379/0.7656, allocations: 16.3 kB / 400.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006784/0.7725, allocations: 1.358 MB / 402 MB, free: 14.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 9.037e-06/0.7725, allocations: 0 / 402 MB, free: 14.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=128): time 0.01731/0.7899, allocations: 2.688 MB / 404.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.525e-05/0.79, allocations: 96.03 kB / 404.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/0.7933, allocations: 0.9371 MB / 405.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001205/0.7945, allocations: 94.84 kB / 405.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008225/0.7954, allocations: 448.3 kB / 406.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001593/0.7971, allocations: 316.2 kB / 406.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007698/0.7979, allocations: 27.94 kB / 406.5 MB, free: 11.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002611/0.7982, allocations: 377.2 kB / 406.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004875/0.8031, allocations: 0.8694 MB / 407.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00512/0.8083, allocations: 1.037 MB / 408.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004982/0.8133, allocations: 1.038 MB / 409.9 MB, free: 9.285 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.069e-05/0.8134, allocations: 0 / 409.9 MB, free: 9.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.0121/0.8255, allocations: 2.379 MB / 412.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.131e-05/0.8257, allocations: 33.7 kB / 412.3 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.8257, allocations: 4 kB / 412.3 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.529e-05/0.8258, allocations: 8 kB / 412.3 MB, free: 6.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.8276, allocations: 227.6 kB / 412.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.317e-05/0.8277, allocations: 12 kB / 412.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003879/0.8316, allocations: 194.4 kB / 412.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002541/0.8342, allocations: 1.097 MB / 413.8 MB, free: 5.344 MB / 282.7 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.004029/0.8383, allocations: 0.9035 MB / 414.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009236/0.8393, allocations: 110.8 kB / 414.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.8398, allocations: 130.3 kB / 414.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.8399, allocations: 12 kB / 415 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.372e-05/0.8399, allocations: 5.25 kB / 415 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/0.84, allocations: 7.969 kB / 415 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007019/0.847, allocations: 1.762 MB / 416.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.311e-05/0.8471, allocations: 0 / 416.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.8488, allocations: 207.7 kB / 416.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.327e-05/0.8488, allocations: 4 kB / 416.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009008/0.8497, allocations: 175.9 kB / 417.1 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-05/0.8498, allocations: 4 kB / 417.1 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.8498, allocations: 8 kB / 417.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.8608, allocations: 2.053 MB / 419.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003751/0.8647, allocations: 0.6441 MB / 419.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001674/0.8664, allocations: 115.9 kB / 419.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003273/0.8697, allocations: 152.3 kB / 420.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002308/0.8721, allocations: 321 kB / 420.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003189/0.8754, allocations: 1.081 MB / 421.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002113/0.8776, allocations: 0.5849 MB / 422.1 MB, free: 13 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.8776, allocations: 0 / 422.1 MB, free: 13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.004174/0.8818, allocations: 387.1 kB / 422.4 MB, free: 12.62 MB / 298.7 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.001926/0.8838, allocations: 359.8 kB / 422.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.01128/0.8951, allocations: 2.043 MB / 424.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.8952, allocations: 0 / 424.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006154/0.9014, allocations: 1.069 MB / 425.9 MB, free: 9.137 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009762/0.9113, allocations: 0.9124 MB / 426.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.9266, allocations: 3.281 MB / 430.1 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003021/0.9297, allocations: 1.344 MB / 431.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01371/0.9435, allocations: 1.324 MB / 432.8 MB, free: 2.199 MB / 298.7 MB Notification: Performance of SimCode: time 2.615e-06/0.9436, allocations: 4 kB / 432.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of Templates: time 0.1035/1.047, allocations: 32.62 MB / 465.4 MB, free: 15.96 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches