Running command: translateModel(ConPNlib.Examples.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") Notification: Performance of loadModel(ConPNlib): time 0.01786/0.01786, allocations: 1.384 MB / 15.9 MB, free: 5.977 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.681e-05, allocations: 0 / 19.95 MB, free: 2.242 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008038/0.0008515, allocations: 362.8 kB / 20.3 MB, free: 1.887 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test5): time 0.001735/0.002608, allocations: 0.9339 MB / 21.23 MB, free: 0.9492 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.004393, allocations: 0.5779 MB / 21.81 MB, free: 376 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.004683, allocations: 7.938 kB / 21.82 MB, free: 368 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.005007, allocations: 83.48 kB / 21.9 MB, free: 284 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.000963/0.005989, allocations: 219.8 kB / 22.12 MB, free: 64 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.006194, allocations: 39.95 kB / 22.16 MB, free: 24 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0114/0.01762, allocations: 134.8 kB / 22.29 MB, free: 3.637 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.01792, allocations: 85.88 kB / 22.37 MB, free: 3.613 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.01808, allocations: 97.94 kB / 22.47 MB, free: 3.613 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.01827, allocations: 114.2 kB / 22.58 MB, free: 3.613 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.01869, allocations: 187.2 kB / 22.76 MB, free: 3.613 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.01878, allocations: 21.41 kB / 22.78 MB, free: 3.613 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 8.723e-05/0.01888, allocations: 62.36 kB / 22.84 MB, free: 3.613 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.01895, allocations: 16.38 kB / 22.86 MB, free: 3.613 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.01946, allocations: 384.3 kB / 23.23 MB, free: 3.492 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01948, allocations: 0 / 23.23 MB, free: 3.492 MB / 13.93 MB Notification: Performance of FrontEnd: time 2.885e-06/0.01949, allocations: 0 / 23.23 MB, free: 3.492 MB / 13.93 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.01951, allocations: 0.6875 kB / 23.23 MB, free: 3.492 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0007615/0.02028, allocations: 0.6002 MB / 23.83 MB, free: 2.883 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.02033, allocations: 12.31 kB / 23.85 MB, free: 2.871 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.02045, allocations: 44.39 kB / 23.89 MB, free: 2.828 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.02087, allocations: 301 kB / 24.18 MB, free: 2.539 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.02093, allocations: 32.97 kB / 24.22 MB, free: 2.52 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/0.02104, allocations: 54.58 kB / 24.27 MB, free: 2.484 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.02239, allocations: 0.6307 MB / 24.9 MB, free: 2.004 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.02245, allocations: 4.172 kB / 24.9 MB, free: 2 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.273e-05/0.02252, allocations: 24.81 kB / 24.93 MB, free: 1.992 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.02263, allocations: 43.75 kB / 24.97 MB, free: 1.957 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.02372, allocations: 451.8 kB / 25.41 MB, free: 1.637 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.02607, allocations: 1.506 MB / 26.92 MB, free: 60 kB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.02679, allocations: 239 kB / 27.15 MB, free: 4.461 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/0.02746, allocations: 0.5936 MB / 27.74 MB, free: 3.738 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.02751, allocations: 38.59 kB / 27.78 MB, free: 3.695 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 3.096e-06/0.02752, allocations: 0 / 27.78 MB, free: 3.695 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.001558/0.02908, allocations: 0.5776 MB / 28.36 MB, free: 3.094 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.02922, allocations: 148.7 kB / 28.51 MB, free: 2.918 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.02952, allocations: 195.1 kB / 28.7 MB, free: 2.723 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.02958, allocations: 33.7 kB / 28.73 MB, free: 2.684 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.02981, allocations: 211.8 kB / 28.94 MB, free: 2.477 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.02992, allocations: 74.44 kB / 29.01 MB, free: 2.406 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.02997, allocations: 8 kB / 29.02 MB, free: 2.398 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.03012, allocations: 330.8 kB / 29.34 MB, free: 2.066 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.03062, allocations: 170.9 kB / 29.51 MB, free: 1.895 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/0.03118, allocations: 240.5 kB / 29.74 MB, free: 1.633 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/0.03169, allocations: 193.3 kB / 29.93 MB, free: 1.441 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.03171, allocations: 0 / 29.93 MB, free: 1.441 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001255/0.03298, allocations: 485.5 kB / 30.4 MB, free: 0.9688 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.03308, allocations: 45.69 kB / 30.45 MB, free: 0.918 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.0331, allocations: 5.812 kB / 30.45 MB, free: 0.9141 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.03313, allocations: 12.2 kB / 30.47 MB, free: 0.9023 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.03347, allocations: 46.88 kB / 30.51 MB, free: 0.8594 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.0335, allocations: 7.953 kB / 30.52 MB, free: 0.8516 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.0338, allocations: 47.67 kB / 30.57 MB, free: 0.8047 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/0.03388, allocations: 19.98 kB / 30.59 MB, free: 0.7852 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 2 * 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.0003935/0.03428, allocations: 256.4 kB / 30.84 MB, free: 0.5273 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-05/0.03437, allocations: 19.81 kB / 30.86 MB, free: 0.5078 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.03555, allocations: 430.5 kB / 31.28 MB, free: 84 kB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/0.0356, allocations: 7.984 kB / 31.28 MB, free: 76 kB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.03562, allocations: 0 / 31.28 MB, free: 76 kB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.03564, allocations: 7.938 kB / 31.29 MB, free: 68 kB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.048, allocations: 0.8584 MB / 32.15 MB, free: 7.297 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.04805, allocations: 4.25 kB / 32.15 MB, free: 7.297 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.04835, allocations: 35.44 kB / 32.19 MB, free: 7.297 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.04837, allocations: 3.188 kB / 32.19 MB, free: 7.297 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.04841, allocations: 12.61 kB / 32.2 MB, free: 7.297 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.04843, allocations: 3.781 kB / 32.21 MB, free: 7.297 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.04844, allocations: 1.812 kB / 32.21 MB, free: 7.297 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.04987, allocations: 0.6691 MB / 32.88 MB, free: 7.086 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.04999, allocations: 105.9 kB / 32.98 MB, free: 6.988 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.05021, allocations: 12.33 kB / 32.99 MB, free: 6.984 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/0.05072, allocations: 31.27 kB / 33.02 MB, free: 6.98 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.05098, allocations: 63.14 kB / 33.09 MB, free: 6.969 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.05105, allocations: 19.33 kB / 33.11 MB, free: 6.965 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001496/0.05121, allocations: 137.1 kB / 33.24 MB, free: 6.871 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.71e-07/0.05122, allocations: 1.781 kB / 33.24 MB, free: 6.871 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.000605/0.05183, allocations: 153 kB / 33.39 MB, free: 6.805 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0003586/0.0522, allocations: 184.6 kB / 33.57 MB, free: 6.648 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.05325, allocations: 498 kB / 34.06 MB, free: 6.207 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.05327, allocations: 3.906 kB / 34.06 MB, free: 6.207 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.05378, allocations: 278.8 kB / 34.33 MB, free: 5.93 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.05412, allocations: 24.48 kB / 34.36 MB, free: 5.902 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.05579, allocations: 0.8451 MB / 35.2 MB, free: 5.047 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.05613, allocations: 0.8578 MB / 36.06 MB, free: 4.164 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003652/0.05651, allocations: 117.5 kB / 36.17 MB, free: 4.059 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.05665, allocations: 35.42 kB / 36.21 MB, free: 4.023 MB / 18.57 MB Notification: Performance of SimCode: time 9.52e-07/0.05666, allocations: 0 / 36.21 MB, free: 4.023 MB / 18.57 MB Notification: Performance of Templates: time 0.0227/0.07938, allocations: 4.012 MB / 40.22 MB, free: 6.004 MB / 18.57 MB