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.01747/0.01747, allocations: 1.388 MB / 15.91 MB, free: 5.977 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.768e-05, allocations: 0 / 19.95 MB, free: 2.242 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007891/0.0008363, allocations: 362.8 kB / 20.3 MB, free: 1.887 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test4): time 0.002004/0.002859, allocations: 1.148 MB / 21.45 MB, free: 0.7344 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.004833, allocations: 0.6675 MB / 22.12 MB, free: 64 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.005174, allocations: 7.938 kB / 22.12 MB, free: 56 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0109/0.01609, allocations: 97.27 kB / 22.22 MB, free: 3.594 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.01718, allocations: 245.3 kB / 22.46 MB, free: 3.594 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.01741, allocations: 60.34 kB / 22.52 MB, free: 3.594 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.01776, allocations: 204.5 kB / 22.72 MB, free: 3.578 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.01805, allocations: 132.9 kB / 22.85 MB, free: 3.535 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.01821, allocations: 137.3 kB / 22.98 MB, free: 3.516 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.01843, allocations: 158.5 kB / 23.14 MB, free: 3.48 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.01883, allocations: 188.1 kB / 23.32 MB, free: 3.438 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 9.534e-05/0.01895, allocations: 25.38 kB / 23.35 MB, free: 3.438 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.01931, allocations: 102.5 kB / 23.45 MB, free: 3.395 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.01954, allocations: 24 kB / 23.47 MB, free: 3.371 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.02068, allocations: 0.502 MB / 23.97 MB, free: 2.969 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.02071, allocations: 0 / 23.97 MB, free: 2.969 MB / 13.93 MB Notification: Performance of FrontEnd: time 3.296e-06/0.02073, allocations: 0 / 23.97 MB, free: 2.969 MB / 13.93 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.02076, allocations: 0 / 23.97 MB, free: 2.969 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001431/0.0222, allocations: 0.7193 MB / 24.69 MB, free: 2.242 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.02228, allocations: 12.31 kB / 24.7 MB, free: 2.23 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.02251, allocations: 73.61 kB / 24.77 MB, free: 2.16 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/0.02345, allocations: 364 kB / 25.13 MB, free: 1.828 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.464e-05/0.02357, allocations: 51.97 kB / 25.18 MB, free: 1.801 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.02381, allocations: 71.05 kB / 25.25 MB, free: 1.754 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/0.02704, allocations: 0.9321 MB / 26.18 MB, free: 0.8867 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.02711, allocations: 4.172 kB / 26.19 MB, free: 0.8828 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.02727, allocations: 31.48 kB / 26.22 MB, free: 0.8555 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002407/0.02752, allocations: 61.27 kB / 26.28 MB, free: 0.793 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.0301, allocations: 0.6577 MB / 26.93 MB, free: 140 kB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006207/0.03634, allocations: 1.778 MB / 28.71 MB, free: 2.918 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.03753, allocations: 492.4 kB / 29.19 MB, free: 2.406 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009622/0.03851, allocations: 0.8547 MB / 30.05 MB, free: 1.367 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.03856, allocations: 36.06 kB / 30.08 MB, free: 1.324 MB / 18.57 MB Notification: Performance of pre-optimization done (n=33): time 2.826e-06/0.03857, allocations: 0 / 30.08 MB, free: 1.324 MB / 18.57 MB Notification: Performance of matching and sorting (n=33): time 0.003818/0.0424, allocations: 1.208 MB / 31.29 MB, free: 44 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01021/0.05263, allocations: 176.8 kB / 31.46 MB, free: 7.641 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.05301, allocations: 239.8 kB / 31.7 MB, free: 7.547 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/0.0531, allocations: 35.77 kB / 31.73 MB, free: 7.516 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.05331, allocations: 275.9 kB / 32 MB, free: 7.371 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.05344, allocations: 108.2 kB / 32.11 MB, free: 7.309 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.0535, allocations: 10.81 kB / 32.12 MB, free: 7.309 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.05358, allocations: 345 kB / 32.46 MB, free: 6.996 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006055/0.0542, allocations: 238.4 kB / 32.69 MB, free: 6.992 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/0.0549, allocations: 353.6 kB / 33.03 MB, free: 6.875 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/0.05553, allocations: 308.5 kB / 33.33 MB, free: 6.777 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.05555, allocations: 0.8125 kB / 33.34 MB, free: 6.777 MB / 18.57 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001628/0.05718, allocations: 0.761 MB / 34.1 MB, free: 6.41 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/0.05728, allocations: 87.16 kB / 34.18 MB, free: 6.316 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.0573, allocations: 0 / 34.18 MB, free: 6.316 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.05896, allocations: 256.7 kB / 34.43 MB, free: 6.066 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.05928, allocations: 55.84 kB / 34.49 MB, free: 6.012 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000767/0.06006, allocations: 0.7346 MB / 35.22 MB, free: 5.254 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.06044, allocations: 75.56 kB / 35.29 MB, free: 5.18 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/0.06053, allocations: 25.02 kB / 35.32 MB, free: 5.156 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.P1.fireOut[1],P1.emptying,P2.outTransition[1].arcType,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],T2.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 40 * 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.0004341/0.06097, allocations: 332.7 kB / 35.64 MB, free: 4.812 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.06107, allocations: 35.48 kB / 35.68 MB, free: 4.781 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.06276, allocations: 0.7461 MB / 36.43 MB, free: 4.012 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.624e-05/0.06281, allocations: 10.77 kB / 36.44 MB, free: 4.004 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.06282, allocations: 0 / 36.44 MB, free: 4.004 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.06285, allocations: 3.984 kB / 36.44 MB, free: 4 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.06504, allocations: 1.282 MB / 37.72 MB, free: 2.66 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/0.06507, allocations: 0 / 37.72 MB, free: 2.66 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.06529, allocations: 35.09 kB / 37.76 MB, free: 2.629 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.0665, allocations: 267.4 kB / 38.02 MB, free: 2.367 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.06656, allocations: 15.98 kB / 38.03 MB, free: 2.352 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007608/0.06733, allocations: 0.7617 MB / 38.79 MB, free: 1.566 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.06735, allocations: 1.594 kB / 38.8 MB, free: 1.566 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.06948, allocations: 1.062 MB / 39.86 MB, free: 488 kB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.06955, allocations: 100.8 kB / 39.96 MB, free: 368 kB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.06967, allocations: 19.98 kB / 39.98 MB, free: 348 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.06999, allocations: 40 kB / 40.01 MB, free: 308 kB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.07024, allocations: 91.72 kB / 40.1 MB, free: 220 kB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.07031, allocations: 19.98 kB / 40.12 MB, free: 200 kB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001707/0.07049, allocations: 168.5 kB / 40.29 MB, free: 32 kB / 18.57 MB Notification: Performance of sort global known variables: time 3.41e-07/0.0705, allocations: 0 / 40.29 MB, free: 32 kB / 18.57 MB Notification: Performance of remove unused functions: time 0.0117/0.08221, allocations: 192.4 kB / 40.48 MB, free: 6.691 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: 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 (P1.fireOut[1],P2.fireIn[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P2.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.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.0004205/0.08265, allocations: 195.1 kB / 40.67 MB, free: 6.602 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.08434, allocations: 0.7558 MB / 41.42 MB, free: 6.477 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.08436, allocations: 0 / 41.42 MB, free: 6.477 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0008123/0.08518, allocations: 456.7 kB / 41.87 MB, free: 6.348 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.08553, allocations: 34.41 kB / 41.9 MB, free: 6.34 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.0877, allocations: 1.225 MB / 43.13 MB, free: 5.602 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.08813, allocations: 0.9481 MB / 44.08 MB, free: 4.734 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003028/0.08845, allocations: 94.42 kB / 44.17 MB, free: 4.672 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.08854, allocations: 31.42 kB / 44.2 MB, free: 4.641 MB / 18.57 MB Notification: Performance of SimCode: time 8.32e-07/0.08855, allocations: 0 / 44.2 MB, free: 4.641 MB / 18.57 MB Notification: Performance of Templates: time 0.02784/0.1164, allocations: 6.475 MB / 50.67 MB, free: 4.297 MB / 18.57 MB