Running command: translateModel(ConPNlib.Examples.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test2") Notification: Performance of loadModel(ConPNlib): time 0.0175/0.0175, allocations: 1.387 MB / 15.9 MB, free: 5.977 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.032e-05, allocations: 0 / 19.95 MB, free: 2.242 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006831/0.0007179, allocations: 362.8 kB / 20.3 MB, free: 1.887 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test2): time 0.0009774/0.001709, allocations: 0.6763 MB / 20.98 MB, free: 1.207 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.002771, allocations: 0.4961 MB / 21.47 MB, free: 0.707 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.002917, allocations: 4 kB / 21.48 MB, free: 0.7031 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.003103, allocations: 51.66 kB / 21.53 MB, free: 0.6523 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005418/0.003659, allocations: 168 kB / 21.69 MB, free: 500 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.948e-05/0.003774, allocations: 27.97 kB / 21.72 MB, free: 472 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.00395, allocations: 87.77 kB / 21.81 MB, free: 384 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.004094, allocations: 49.36 kB / 21.85 MB, free: 320 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.142e-05/0.004188, allocations: 63.7 kB / 21.92 MB, free: 256 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.00431, allocations: 67.67 kB / 21.98 MB, free: 188 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.004559, allocations: 123.7 kB / 22.1 MB, free: 64 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.004621, allocations: 12 kB / 22.11 MB, free: 52 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.004691, allocations: 39.83 kB / 22.15 MB, free: 12 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.004741, allocations: 12 kB / 22.16 MB, free: 0 / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.009991/0.01474, allocations: 219 kB / 22.38 MB, free: 3.754 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01478, allocations: 0 / 22.38 MB, free: 3.754 MB / 13.93 MB Notification: Performance of FrontEnd: time 2.214e-06/0.0148, allocations: 0 / 22.38 MB, free: 3.754 MB / 13.93 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.01482, allocations: 0 / 22.38 MB, free: 3.754 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00065/0.01548, allocations: 0.4939 MB / 22.87 MB, free: 3.312 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.01553, allocations: 11.39 kB / 22.88 MB, free: 3.312 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/0.01562, allocations: 23.52 kB / 22.91 MB, free: 3.305 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.01592, allocations: 241 kB / 23.14 MB, free: 3.098 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.01597, allocations: 19.72 kB / 23.16 MB, free: 3.098 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.01604, allocations: 25.97 kB / 23.19 MB, free: 3.098 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007962/0.01684, allocations: 364.1 kB / 23.54 MB, free: 3.035 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.01687, allocations: 176 / 23.54 MB, free: 3.035 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.01693, allocations: 12.81 kB / 23.55 MB, free: 3.035 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.759e-05/0.017, allocations: 23.12 kB / 23.58 MB, free: 3.027 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006149/0.01763, allocations: 253.1 kB / 23.82 MB, free: 2.918 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.0191, allocations: 0.8596 MB / 24.68 MB, free: 2.109 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.01956, allocations: 162.6 kB / 24.84 MB, free: 1.988 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/0.01989, allocations: 433.8 kB / 25.27 MB, free: 1.477 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.01993, allocations: 34.55 kB / 25.3 MB, free: 1.434 MB / 13.93 MB Notification: Performance of pre-optimization done (n=14): time 2.334e-06/0.01995, allocations: 0 / 25.3 MB, free: 1.434 MB / 13.93 MB Notification: Performance of matching and sorting (n=14): time 0.0008456/0.0208, allocations: 388.6 kB / 25.68 MB, free: 1.09 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.02087, allocations: 115.9 kB / 25.79 MB, free: 0.957 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.02104, allocations: 150.2 kB / 25.94 MB, free: 0.8125 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.02108, allocations: 32.02 kB / 25.97 MB, free: 0.7773 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.02118, allocations: 154.4 kB / 26.12 MB, free: 0.6367 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 7.202e-05/0.02126, allocations: 50.86 kB / 26.17 MB, free: 0.5938 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.02131, allocations: 3.938 kB / 26.18 MB, free: 0.5938 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.02141, allocations: 322.8 kB / 26.49 MB, free: 280 kB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/0.02169, allocations: 95.89 kB / 26.58 MB, free: 212 kB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.02198, allocations: 140.4 kB / 26.72 MB, free: 68 kB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.02234, allocations: 129.6 kB / 26.85 MB, free: 4.586 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.02236, allocations: 0 / 26.85 MB, free: 4.586 MB / 18.57 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008006/0.02317, allocations: 303.6 kB / 27.14 MB, free: 4.289 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.995e-05/0.02324, allocations: 41.69 kB / 27.19 MB, free: 4.242 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.02326, allocations: 0 / 27.19 MB, free: 4.242 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.02329, allocations: 7.953 kB / 27.19 MB, free: 4.234 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.02354, allocations: 30.98 kB / 27.22 MB, free: 4.207 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.02356, allocations: 4 kB / 27.23 MB, free: 4.203 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.02376, allocations: 30.58 kB / 27.26 MB, free: 4.176 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.02382, allocations: 16 kB / 27.27 MB, free: 4.16 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireOut[1],P1.emptying,P1.outTransition[1].arcType,T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],T1.activation.arcType[1],T1.activation.fed[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 1 * 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.0003082/0.02414, allocations: 199 kB / 27.47 MB, free: 3.953 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.02422, allocations: 15.81 kB / 27.48 MB, free: 3.938 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008774/0.02511, allocations: 316.8 kB / 27.79 MB, free: 3.629 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.02514, allocations: 7.953 kB / 27.8 MB, free: 3.621 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.02516, allocations: 0 / 27.8 MB, free: 3.621 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.02518, allocations: 11.81 kB / 27.81 MB, free: 3.613 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.02637, allocations: 0.6135 MB / 28.42 MB, free: 2.945 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.02639, allocations: 0 / 28.42 MB, free: 2.945 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.0266, allocations: 23.98 kB / 28.45 MB, free: 2.922 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.02662, allocations: 4 kB / 28.45 MB, free: 2.918 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.02666, allocations: 3.953 kB / 28.46 MB, free: 2.914 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.02667, allocations: 4 kB / 28.46 MB, free: 2.91 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.02668, allocations: 0 / 28.46 MB, free: 2.91 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.02771, allocations: 464.1 kB / 28.91 MB, free: 2.438 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.02779, allocations: 92.97 kB / 29 MB, free: 2.328 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.02786, allocations: 8 kB / 29.01 MB, free: 2.32 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.02807, allocations: 27.52 kB / 29.04 MB, free: 2.297 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.02821, allocations: 31.95 kB / 29.07 MB, free: 2.266 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.02826, allocations: 12 kB / 29.08 MB, free: 2.254 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.000127/0.0284, allocations: 116.7 kB / 29.2 MB, free: 2.141 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.7e-07/0.02841, allocations: 0 / 29.2 MB, free: 2.141 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005499/0.02897, allocations: 99.67 kB / 29.29 MB, free: 2.043 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],P1.emptying) * Number of discrete states: 3 (T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 1 * 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.0003351/0.02932, allocations: 151.7 kB / 29.44 MB, free: 1.895 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0007838/0.03011, allocations: 294.7 kB / 29.73 MB, free: 1.598 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03014, allocations: 4 kB / 29.73 MB, free: 1.594 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.03051, allocations: 170.6 kB / 29.9 MB, free: 1.418 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.03079, allocations: 12.2 kB / 29.91 MB, free: 1.406 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.03201, allocations: 0.496 MB / 30.41 MB, free: 0.8945 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.03246, allocations: 0.7753 MB / 31.18 MB, free: 92 kB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.03277, allocations: 84.17 kB / 31.26 MB, free: 12 kB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01151/0.04429, allocations: 35.08 kB / 31.3 MB, free: 7.121 MB / 18.57 MB Notification: Performance of SimCode: time 1.582e-06/0.04433, allocations: 0 / 31.3 MB, free: 7.121 MB / 18.57 MB Notification: Performance of Templates: time 0.008526/0.05287, allocations: 2.55 MB / 33.85 MB, free: 5.75 MB / 18.57 MB