Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001177, allocations: 95.62 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 201 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.692/1.692, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002561/0.0002562, allocations: 11.98 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002736/0.1455, allocations: 2.155 MB / 360.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.1484, allocations: 1.224 MB / 362.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.1487, allocations: 3.938 kB / 362.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.1489, allocations: 47.56 kB / 362.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.1491, allocations: 51.52 kB / 362.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.1497, allocations: 143.8 kB / 362.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.1513, allocations: 1.71 MB / 364.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009255/0.1523, allocations: 0.7116 MB / 364.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.1545, allocations: 1.446 MB / 366.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.156, allocations: 0.9588 MB / 367.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.1563, allocations: 40 kB / 367.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.1565, allocations: 40 kB / 367.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006244/0.1571, allocations: 454.9 kB / 367.8 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004027/0.1576, allocations: 284.9 kB / 368 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.1612, allocations: 3.776 MB / 371.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.1612, allocations: 3.938 kB / 371.8 MB, free: 1.043 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.1612, allocations: 0 / 371.8 MB, free: 1.043 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001426/0.1614, allocations: 0 / 371.8 MB, free: 1.043 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.3254/0.4867, allocations: 1.691 MB / 373.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.4868, allocations: 9.312 kB / 373.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.4883, allocations: 169.8 kB / 373.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.4915, allocations: 1.032 MB / 374.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.4917, allocations: 104.2 kB / 374.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008141/0.4925, allocations: 118.5 kB / 374.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007277/0.4998, allocations: 2.29 MB / 377.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/0.4999, allocations: 0.8438 kB / 377.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.5001, allocations: 50.81 kB / 377.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/0.5002, allocations: 31.31 kB / 377.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006158/0.5064, allocations: 1.998 MB / 379.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.5189, allocations: 4.791 MB / 384.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005115/0.5241, allocations: 1.91 MB / 386 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.526, allocations: 0.7684 MB / 386.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.5262, allocations: 14.89 kB / 386.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002369/0.5286, allocations: 1.36 MB / 388.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.509e-06/0.5286, allocations: 2.953 kB / 388.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005525/0.5342, allocations: 2.693 MB / 390.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.731e-05/0.5343, allocations: 94.14 kB / 390.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.5359, allocations: 0.9375 MB / 391.9 MB, free: 8.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003007/0.5362, allocations: 100 kB / 392 MB, free: 8.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/0.5367, allocations: 418.1 kB / 392.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004848/0.5372, allocations: 311.2 kB / 392.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.5374, allocations: 28.56 kB / 392.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.5376, allocations: 410 kB / 393.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/0.5394, allocations: 0.8766 MB / 394 MB, free: 6.914 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.541, allocations: 1.039 MB / 395 MB, free: 5.844 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.5427, allocations: 1.036 MB / 396.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.5427, allocations: 0 / 396.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003822/0.5465, allocations: 2.413 MB / 398.5 MB, free: 2.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.139e-05/0.5466, allocations: 33.7 kB / 398.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.5466, allocations: 3.938 kB / 398.5 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.05e-05/0.5467, allocations: 12 kB / 398.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.5472, allocations: 227.6 kB / 398.7 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.5472, allocations: 12.14 kB / 398.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.5488, allocations: 199.1 kB / 398.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008505/0.5497, allocations: 1.089 MB / 400 MB, free: 0.8359 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,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.001766/0.5515, allocations: 0.9066 MB / 400.9 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005451/0.552, allocations: 102.8 kB / 401 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.5524, allocations: 138.3 kB / 401.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.5524, allocations: 12 kB / 401.2 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.421e-05/0.5525, allocations: 0 / 401.2 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.5525, allocations: 3.984 kB / 401.2 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/0.5567, allocations: 1.754 MB / 402.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/0.5568, allocations: 0 / 402.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/0.5575, allocations: 203.7 kB / 403.1 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.518e-05/0.5575, allocations: 7.938 kB / 403.2 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003537/0.5579, allocations: 175.9 kB / 403.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.947e-05/0.5579, allocations: 7.984 kB / 403.3 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5579, allocations: 4 kB / 403.3 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005202/0.5631, allocations: 2.053 MB / 405.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002138/0.5653, allocations: 0.644 MB / 406 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008371/0.5662, allocations: 119.9 kB / 406.2 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.5678, allocations: 147.5 kB / 406.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007803/0.5686, allocations: 324.9 kB / 406.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001659/0.5703, allocations: 1.085 MB / 407.7 MB, free: 9.078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001243/0.5715, allocations: 0.5927 MB / 408.3 MB, free: 8.488 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5716, allocations: 0 / 408.3 MB, free: 8.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002423/0.574, allocations: 375.2 kB / 408.7 MB, free: 8.121 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008569/0.5749, allocations: 362.7 kB / 409 MB, free: 7.762 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0052/0.5801, allocations: 2.045 MB / 411.1 MB, free: 5.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.5801, allocations: 0 / 411.1 MB, free: 5.707 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002695/0.5828, allocations: 1.073 MB / 412.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005595/0.5884, allocations: 0.9236 MB / 413.1 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008085/0.5966, allocations: 3.312 MB / 416.4 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/0.5983, allocations: 1.316 MB / 417.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007351/0.6056, allocations: 1.324 MB / 419 MB, free: 13.69 MB / 334.1 MB Notification: Performance of SimCode: time 1.774e-06/0.6057, allocations: 0 / 419 MB, free: 13.69 MB / 334.1 MB Notification: Performance of Templates: time 0.05441/0.6601, allocations: 32.98 MB / 452 MB, free: 11.17 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.CounterCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.CounterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Digital.Examples.CounterCalcHelperMain.o] Error 1