Running command: translateModel(ConPNlib.Examples.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") Notification: Performance of loadModel(ConPNlib): time 0.009786/0.009785, allocations: 1.389 MB / 13.54 MB, free: 1.762 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.858e-05, allocations: 4 kB / 16.77 MB, free: 4.34 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004734/0.0005142, allocations: 355.1 kB / 17.12 MB, free: 4.09 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004112/0.004645, allocations: 4.034 MB / 21.15 MB, free: 92 kB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 9.856e-05/0.004773, allocations: 51.61 kB / 21.2 MB, free: 44 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.03966/0.04445, allocations: 9.197 MB / 30.4 MB, free: 0.9961 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.988e-06/0.04449, allocations: 0 / 30.4 MB, free: 0.9961 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.323e-05/0.04454, allocations: 13.5 kB / 30.41 MB, free: 0.9844 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001346/0.04589, allocations: 0.7475 MB / 31.16 MB, free: 188 kB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.04595, allocations: 12.31 kB / 31.17 MB, free: 176 kB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.04614, allocations: 64.11 kB / 31.23 MB, free: 112 kB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/0.05703, allocations: 391.2 kB / 31.62 MB, free: 1.871 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.122e-05/0.05714, allocations: 50.89 kB / 31.66 MB, free: 1.871 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.05729, allocations: 71.64 kB / 31.73 MB, free: 1.871 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.0589, allocations: 0.8728 MB / 32.61 MB, free: 1.789 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.05895, allocations: 1.203 kB / 32.61 MB, free: 1.789 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.05906, allocations: 27.44 kB / 32.64 MB, free: 1.789 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.718e-05/0.05916, allocations: 46 kB / 32.68 MB, free: 1.785 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.06029, allocations: 0.5851 MB / 33.27 MB, free: 1.785 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.06299, allocations: 1.579 MB / 34.85 MB, free: 1.336 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.06362, allocations: 425.1 kB / 35.26 MB, free: 1.211 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/0.06405, allocations: 259 kB / 35.51 MB, free: 1.203 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006896/0.06475, allocations: 0.8571 MB / 36.37 MB, free: 6.477 MB / 24.79 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.0648, allocations: 40.06 kB / 36.41 MB, free: 6.438 MB / 24.79 MB Notification: Performance of pre-optimization done (n=33): time 3.555e-06/0.06482, allocations: 0 / 36.41 MB, free: 6.438 MB / 24.79 MB Notification: Performance of matching and sorting (n=33): time 0.00113/0.06596, allocations: 0.5601 MB / 36.97 MB, free: 6.234 MB / 24.79 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.06612, allocations: 179.3 kB / 37.14 MB, free: 6.039 MB / 24.79 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.06641, allocations: 243.4 kB / 37.38 MB, free: 5.891 MB / 24.79 MB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/0.06648, allocations: 38.81 kB / 37.42 MB, free: 5.855 MB / 24.79 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.06667, allocations: 278 kB / 37.69 MB, free: 5.66 MB / 24.79 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.06679, allocations: 110.6 kB / 37.8 MB, free: 5.582 MB / 24.79 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.06685, allocations: 10.88 kB / 37.81 MB, free: 5.578 MB / 24.79 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.06705, allocations: 349 kB / 38.15 MB, free: 5.25 MB / 24.79 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.0675, allocations: 210.7 kB / 38.36 MB, free: 5.184 MB / 24.79 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.06804, allocations: 329.6 kB / 38.68 MB, free: 4.973 MB / 24.79 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.06855, allocations: 286.9 kB / 38.96 MB, free: 4.797 MB / 24.79 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.06858, allocations: 4 kB / 38.96 MB, free: 4.793 MB / 24.79 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001515/0.0701, allocations: 0.6914 MB / 39.65 MB, free: 4.176 MB / 24.79 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.07022, allocations: 82.73 kB / 39.74 MB, free: 4.086 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.07025, allocations: 2.5 kB / 39.74 MB, free: 4.086 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.07165, allocations: 271.1 kB / 40 MB, free: 3.891 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.07192, allocations: 51.25 kB / 40.05 MB, free: 3.848 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009374/0.07287, allocations: 0.7489 MB / 40.8 MB, free: 3.125 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.07323, allocations: 61.59 kB / 40.86 MB, free: 3.07 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-05/0.07334, allocations: 38.17 kB / 40.9 MB, free: 3.043 MB / 24.79 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.P1.fireOut[1],P1.emptying,P2.outTransition[1].arcType,P1.feeding,P1.outTransition[1].arcType,P1.fireOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],$PRE.P2.fireIn[1],P2.fireIn[1],$PRE.P2.fireOut[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T1.activation.arcType[1],T1.activation.fed[1],T2.activation.arcType[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002997/0.07365, allocations: 228.9 kB / 41.12 MB, free: 2.816 MB / 24.79 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.07379, allocations: 27.72 kB / 41.15 MB, free: 2.789 MB / 24.79 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.07544, allocations: 0.7213 MB / 41.87 MB, free: 2.16 MB / 24.79 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-05/0.07549, allocations: 4 kB / 41.87 MB, free: 2.156 MB / 24.79 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.986e-06/0.07551, allocations: 4 kB / 41.88 MB, free: 2.152 MB / 24.79 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.16e-06/0.07553, allocations: 3.75 kB / 41.88 MB, free: 2.152 MB / 24.79 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.07778, allocations: 1.2 MB / 43.08 MB, free: 1.07 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.975e-06/0.07781, allocations: 0 / 43.08 MB, free: 1.07 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.07802, allocations: 35.02 kB / 43.12 MB, free: 1.043 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.07919, allocations: 290.9 kB / 43.4 MB, free: 0.8242 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/0.07926, allocations: 15.8 kB / 43.42 MB, free: 0.8125 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009485/0.08023, allocations: 0.767 MB / 44.18 MB, free: 76 kB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.253e-06/0.08025, allocations: 3.938 kB / 44.19 MB, free: 72 kB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/0.09404, allocations: 0.9818 MB / 45.17 MB, free: 6.586 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.09415, allocations: 104.7 kB / 45.27 MB, free: 6.492 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-05/0.09426, allocations: 19.06 kB / 45.29 MB, free: 6.492 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.09458, allocations: 33.56 kB / 45.32 MB, free: 6.492 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.09482, allocations: 93.36 kB / 45.41 MB, free: 6.492 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/0.0949, allocations: 23.12 kB / 45.44 MB, free: 6.492 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.0001877/0.0951, allocations: 169.3 kB / 45.6 MB, free: 6.414 MB / 24.79 MB Notification: Performance of sort global known variables: time 9.76e-07/0.09511, allocations: 2.625 kB / 45.6 MB, free: 6.414 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.0007472/0.09587, allocations: 196.5 kB / 45.8 MB, free: 6.414 MB / 24.79 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: 11 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1]) * Number of discrete states: 8 (P2.fireOut[1],P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004153/0.0963, allocations: 208.5 kB / 46 MB, free: 6.324 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.09754, allocations: 0.7165 MB / 46.72 MB, free: 6.199 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 4.006e-06/0.09756, allocations: 0 / 46.72 MB, free: 6.199 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.0006397/0.09821, allocations: 444.3 kB / 47.15 MB, free: 6.07 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.09855, allocations: 32 kB / 47.18 MB, free: 6.07 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.1002, allocations: 0.8499 MB / 48.03 MB, free: 5.867 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.1007, allocations: 0.9462 MB / 48.98 MB, free: 5.172 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.1009, allocations: 75.89 kB / 49.05 MB, free: 5.172 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.101, allocations: 31.94 kB / 49.08 MB, free: 5.164 MB / 24.79 MB Notification: Performance of SimCode: time 2.426e-06/0.101, allocations: 0 / 49.08 MB, free: 5.164 MB / 24.79 MB Notification: Performance of Templates: time 0.0266/0.1276, allocations: 6.413 MB / 55.5 MB, free: 6.551 MB / 24.79 MB