Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 196.8 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.6 MB / 244.3 MB, free: 8.285 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007472/0.0007472, allocations: 103.1 kB / 296.4 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002446/0.0002446, allocations: 7.984 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.001828/0.2019, allocations: 2.162 MB / 409.7 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.2036, allocations: 1.196 MB / 410.9 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.2037, allocations: 7.938 kB / 410.9 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.2039, allocations: 44.16 kB / 410.9 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.204, allocations: 53.5 kB / 411 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.2044, allocations: 147.8 kB / 411.1 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009281/0.2053, allocations: 1.715 MB / 412.8 MB, free: 22.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005736/0.2059, allocations: 0.7128 MB / 413.5 MB, free: 21.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.207, allocations: 1.443 MB / 415 MB, free: 20.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006456/0.2077, allocations: 0.9665 MB / 415.9 MB, free: 19.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002467/0.208, allocations: 40 kB / 416 MB, free: 19.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.2082, allocations: 40 kB / 416 MB, free: 19.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.2085, allocations: 446.9 kB / 416.5 MB, free: 18.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.2087, allocations: 281 kB / 416.7 MB, free: 18.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.2104, allocations: 3.78 MB / 420.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.2104, allocations: 0 / 420.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2104, allocations: 7.984 kB / 420.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.179e-05/0.2104, allocations: 0 / 420.5 MB, free: 14.76 MB / 298.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.002129/0.2126, allocations: 1.697 MB / 422.2 MB, free: 13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2126, allocations: 8.031 kB / 422.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.213, allocations: 174 kB / 422.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.2144, allocations: 1.034 MB / 423.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.079e-05/0.2145, allocations: 102.5 kB / 423.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/0.2147, allocations: 124 kB / 423.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003443/0.2182, allocations: 2.281 MB / 425.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.2182, allocations: 4 kB / 425.9 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.2185, allocations: 48 kB / 426 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.2185, allocations: 36 kB / 426 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003185/0.2217, allocations: 1.993 MB / 428 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006381/0.2281, allocations: 4.794 MB / 432.8 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/0.2311, allocations: 1.902 MB / 434.7 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.2324, allocations: 0.766 MB / 435.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.2326, allocations: 17.31 kB / 435.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002014/0.2346, allocations: 1.359 MB / 436.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.767e-06/0.2346, allocations: 4 kB / 436.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=128): time 0.005032/0.2397, allocations: 2.689 MB / 439.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.2398, allocations: 94.38 kB / 439.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.2412, allocations: 0.9407 MB / 440.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000264/0.2414, allocations: 97.66 kB / 440.7 MB, free: 10.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.2418, allocations: 417.3 kB / 441.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/0.2422, allocations: 312.2 kB / 441.4 MB, free: 9.598 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.2424, allocations: 32 kB / 441.4 MB, free: 9.566 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.2426, allocations: 402.7 kB / 441.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.2442, allocations: 0.8744 MB / 442.7 MB, free: 8.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.2459, allocations: 1.051 MB / 443.7 MB, free: 7.203 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.2476, allocations: 1.027 MB / 444.8 MB, free: 6.168 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.2477, allocations: 0 / 444.8 MB, free: 6.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004145/0.2518, allocations: 2.408 MB / 447.2 MB, free: 3.754 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.2519, allocations: 33.7 kB / 447.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2519, allocations: 4 kB / 447.2 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.2519, allocations: 12.03 kB / 447.2 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.2524, allocations: 231.5 kB / 447.4 MB, free: 3.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.2524, allocations: 15.95 kB / 447.4 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.2536, allocations: 191.2 kB / 447.6 MB, free: 3.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009836/0.2546, allocations: 1.089 MB / 448.7 MB, free: 2.18 MB / 314.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.001403/0.256, allocations: 0.9079 MB / 449.6 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.2563, allocations: 106.7 kB / 449.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.2566, allocations: 134.3 kB / 449.9 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.2566, allocations: 12 kB / 449.9 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.2566, allocations: 3.938 kB / 449.9 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.2566, allocations: 11.94 kB / 449.9 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.2591, allocations: 1.759 MB / 451.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2591, allocations: 0 / 451.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.2595, allocations: 203.7 kB / 451.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.2595, allocations: 8 kB / 451.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002423/0.2598, allocations: 175.9 kB / 452 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.459e-05/0.2598, allocations: 4 kB / 452 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2598, allocations: 3.953 kB / 452 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/0.2635, allocations: 2.049 MB / 454.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.2647, allocations: 0.644 MB / 454.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004149/0.2651, allocations: 119.9 kB / 454.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008825/0.266, allocations: 143.5 kB / 455 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005284/0.2665, allocations: 325 kB / 455.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001035/0.2676, allocations: 1.085 MB / 456.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007887/0.2684, allocations: 0.5888 MB / 457 MB, free: 9.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2684, allocations: 4 kB / 457 MB, free: 9.781 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001444/0.2698, allocations: 379.2 kB / 457.4 MB, free: 9.41 MB / 330.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.0006161/0.2704, allocations: 363.7 kB / 457.7 MB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003795/0.2742, allocations: 2.046 MB / 459.8 MB, free: 6.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2743, allocations: 3.938 kB / 459.8 MB, free: 6.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.276, allocations: 1.065 MB / 460.8 MB, free: 5.906 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/0.2795, allocations: 0.9374 MB / 461.8 MB, free: 4.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00502/0.2846, allocations: 3.297 MB / 465.1 MB, free: 1.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.2857, allocations: 1.32 MB / 466.4 MB, free: 296 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004592/0.2903, allocations: 1.313 MB / 467.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2904, allocations: 0 / 467.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of Templates: time 0.04501/0.3354, allocations: 32.97 MB / 0.4889 GB, free: 12.45 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches