Running command: translateModel(PNlib.Examples.DisTest.SingleTD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.SingleTD") Notification: Performance of loadModel(PNlib): time 2.316/2.316, allocations: 222.9 MB / 235 MB, free: 9.254 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.452e-05, allocations: 4 kB / 289.6 MB, free: 4.086 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09073/0.09078, allocations: 51.69 MB / 341.3 MB, free: 308 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4115/0.5024, allocations: 76.95 MB / 418.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.5026, allocations: 64.66 kB / 418.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006502/0.5091, allocations: 1.9 MB / 420.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.643e-06/0.5092, allocations: 3.938 kB / 420.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.5092, allocations: 4 kB / 420.2 MB, free: 11.55 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005225/0.5097, allocations: 404.3 kB / 420.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.5098, allocations: 8.031 kB / 420.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.5099, allocations: 15.81 kB / 420.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.5101, allocations: 206.5 kB / 420.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.5102, allocations: 4 kB / 420.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.5102, allocations: 8 kB / 420.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.5105, allocations: 121.3 kB / 420.9 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.5105, allocations: 4.812 kB / 420.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.5105, allocations: 8 kB / 421 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-06/0.5106, allocations: 0 / 421 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.5107, allocations: 51.92 kB / 421 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.5116, allocations: 0.7436 MB / 421.7 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.5118, allocations: 69.2 kB / 421.8 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.5119, allocations: 33.72 kB / 421.8 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.5119, allocations: 4.141 kB / 421.9 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.5121, allocations: 85.11 kB / 421.9 MB, free: 9.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.397e-06/0.5121, allocations: 0 / 421.9 MB, free: 9.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002835/0.5124, allocations: 115.3 kB / 422 MB, free: 9.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.5125, allocations: 110.8 kB / 422.2 MB, free: 9.324 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.5127, allocations: 157.4 kB / 422.3 MB, free: 9.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.5127, allocations: 29.7 kB / 422.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.5128, allocations: 111.9 kB / 422.4 MB, free: 9.016 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.5129, allocations: 23.73 kB / 422.5 MB, free: 8.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.5129, allocations: 4 kB / 422.5 MB, free: 8.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5131, allocations: 322.8 kB / 422.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-05/0.5132, allocations: 20 kB / 422.8 MB, free: 8.645 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.5133, allocations: 74.88 kB / 422.9 MB, free: 8.547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.5134, allocations: 65.52 kB / 422.9 MB, free: 8.477 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-06/0.5134, allocations: 4 kB / 422.9 MB, free: 8.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003259/0.5138, allocations: 163.1 kB / 423.1 MB, free: 8.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.5138, allocations: 33.66 kB / 423.1 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.635e-06/0.5138, allocations: 4 kB / 423.1 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.5139, allocations: 0 / 423.1 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.514, allocations: 19.98 kB / 423.2 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.514, allocations: 7.938 kB / 423.2 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.89e-05/0.5141, allocations: 16.09 kB / 423.2 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.5142, allocations: 4 kB / 423.2 MB, free: 8.211 MB / 346.7 MB Warning: Assuming fixed start value for the following 3 variables: T1.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.active,T1.active,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,T1.firingCon,T1.enabledByInPlaces,T1.enabledByOutPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001832/0.5144, allocations: 154.4 kB / 423.3 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.5144, allocations: 11.91 kB / 423.4 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.5145, allocations: 20.89 kB / 423.4 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5145, allocations: 0 / 423.4 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.437e-06/0.5145, allocations: 0 / 423.4 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.141e-06/0.5145, allocations: 4 kB / 423.4 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.515, allocations: 384.1 kB / 423.8 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.5151, allocations: 3.953 kB / 423.8 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.5151, allocations: 4 kB / 423.8 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.132e-06/0.5151, allocations: 0 / 423.8 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.5152, allocations: 4 kB / 423.8 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.231e-06/0.5152, allocations: 4 kB / 423.8 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.947e-06/0.5152, allocations: 0 / 423.8 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.5155, allocations: 239.7 kB / 424 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.5156, allocations: 96.91 kB / 424.1 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.5156, allocations: 8 kB / 424.1 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.5157, allocations: 4 kB / 424.1 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.5158, allocations: 16.02 kB / 424.1 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.5158, allocations: 11.98 kB / 424.1 MB, free: 7.141 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.516, allocations: 115.3 kB / 424.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.516, allocations: 0 / 424.2 MB, free: 7.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.5163, allocations: 16 kB / 424.3 MB, free: 7.012 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (T1.fireTime,T1.ani,T1.active,$whenCondition1,T1.firingTime,T1.delayPassed,T1.activation.active) * Number of discrete states: 2 (T1.activation.active,T1.delayPassed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * 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.0001265/0.5165, allocations: 99.25 kB / 424.4 MB, free: 6.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.5168, allocations: 127.8 kB / 424.5 MB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.653e-06/0.5168, allocations: 384 / 424.5 MB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.5169, allocations: 83.41 kB / 424.6 MB, free: 6.672 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.5172, allocations: 12.66 kB / 424.6 MB, free: 6.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.5176, allocations: 155 kB / 424.7 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.518, allocations: 0.7043 MB / 425.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.281e-05/0.5181, allocations: 16.88 kB / 425.5 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.5181, allocations: 11.44 kB / 425.5 MB, free: 5.723 MB / 346.7 MB Notification: Performance of SimCode: time 1.601e-06/0.5181, allocations: 0 / 425.5 MB, free: 5.723 MB / 346.7 MB Notification: Performance of Templates: time 0.003949/0.5221, allocations: 0.791 MB / 426.3 MB, free: 4.934 MB / 346.7 MB