Running command: translateModel(PNlib.Examples.ConTest.SinglePC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.SinglePC") Notification: Performance of loadModel(PNlib): time 2.348/2.348, allocations: 222.8 MB / 235 MB, free: 9.262 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.237e-05, allocations: 4 kB / 289.6 MB, free: 4.082 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09836/0.09841, allocations: 51.68 MB / 341.3 MB, free: 308 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4397/0.5382, allocations: 79.16 MB / 420.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/0.5386, allocations: 63.97 kB / 420.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04166/0.5803, allocations: 9.375 MB / 429.9 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.829e-06/0.5803, allocations: 3.938 kB / 429.9 MB, free: 1.844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.5804, allocations: 4 kB / 429.9 MB, free: 1.84 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001356/0.5817, allocations: 0.8779 MB / 430.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5818, allocations: 8.031 kB / 430.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008362/0.5826, allocations: 115.5 kB / 430.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.5831, allocations: 270.3 kB / 431.1 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.5832, allocations: 16 kB / 431.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.5833, allocations: 23.98 kB / 431.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.5839, allocations: 341.8 kB / 431.5 MB, free: 16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.584, allocations: 0 / 431.5 MB, free: 16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.584, allocations: 16 kB / 431.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.5841, allocations: 4 kB / 431.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003493/0.5844, allocations: 140 kB / 431.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.5866, allocations: 1.611 MB / 433.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.5871, allocations: 277 kB / 433.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.5874, allocations: 192.4 kB / 433.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.731e-05/0.5875, allocations: 12 kB / 433.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005067/0.588, allocations: 298.1 kB / 434 MB, free: 13.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 4.217e-06/0.5881, allocations: 4 kB / 434 MB, free: 13.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001015/0.5891, allocations: 0.5583 MB / 434.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003308/0.5894, allocations: 492.9 kB / 435.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.5898, allocations: 220.8 kB / 435.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.478e-05/0.5899, allocations: 53.83 kB / 435.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.59, allocations: 144.7 kB / 435.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.5902, allocations: 114.6 kB / 435.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.5903, allocations: 12 kB / 435.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.5905, allocations: 350.8 kB / 436 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.5908, allocations: 137.2 kB / 436.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/0.5914, allocations: 384.4 kB / 436.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006879/0.5921, allocations: 492.8 kB / 436.9 MB, free: 10 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.5921, allocations: 3.938 kB / 437 MB, free: 9.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001717/0.5939, allocations: 0.904 MB / 437.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002555/0.5941, allocations: 302.7 kB / 438.2 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.5942, allocations: 11.98 kB / 438.2 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/0.5942, allocations: 12.78 kB / 438.2 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.5946, allocations: 79.78 kB / 438.3 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.871e-05/0.5946, allocations: 19.89 kB / 438.3 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.595, allocations: 59.58 kB / 438.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/0.5952, allocations: 35.98 kB / 438.4 MB, free: 8.453 MB / 362.7 MB Warning: Assuming fixed start value for the following 18 variables: P1.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 71 ($whenCondition3,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition2,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition1,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.reStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 10 * 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.0006756/0.5959, allocations: 490.9 kB / 438.8 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.596, allocations: 43.62 kB / 438.9 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005533/0.5966, allocations: 242.8 kB / 439.1 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.5966, allocations: 4 kB / 439.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7e-06/0.5966, allocations: 0 / 439.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.5966, allocations: 11.94 kB / 439.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.5978, allocations: 0.6732 MB / 439.8 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.276e-06/0.5979, allocations: 0 / 439.8 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.598, allocations: 19.98 kB / 439.8 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.515e-06/0.5981, allocations: 8 kB / 439.8 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.5981, allocations: 19.98 kB / 439.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.5981, allocations: 11.89 kB / 439.9 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.809e-06/0.5982, allocations: 0 / 439.9 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.6, allocations: 1.02 MB / 440.9 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.6002, allocations: 116.6 kB / 441 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.6003, allocations: 51.98 kB / 441.1 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.6006, allocations: 23.98 kB / 441.1 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.6007, allocations: 23.98 kB / 441.1 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.6008, allocations: 27.94 kB / 441.1 MB, free: 5.426 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002331/0.601, allocations: 161.4 kB / 441.3 MB, free: 5.266 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.6011, allocations: 0 / 441.3 MB, free: 5.266 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001/0.6021, allocations: 179.8 kB / 441.5 MB, free: 5.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (P1.t_) * Number of discrete variables: 42 ($whenCondition1,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$whenCondition2,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.anytrue,P1.emptying.numtrue,P1.disMarksInOut,$whenCondition3,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue) * Number of discrete states: 41 (P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.disMarkChange,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,$whenCondition2,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 8 * 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.0008147/0.6029, allocations: 297.5 kB / 441.8 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.6045, allocations: 1.036 MB / 442.8 MB, free: 3.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6046, allocations: 8 kB / 442.8 MB, free: 3.637 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6056, allocations: 0.9485 MB / 443.7 MB, free: 2.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.6061, allocations: 46.81 kB / 443.8 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.6074, allocations: 464.8 kB / 444.2 MB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.6079, allocations: 0.7725 MB / 445 MB, free: 1.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000203/0.6081, allocations: 42.95 kB / 445.1 MB, free: 1.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/0.6082, allocations: 27.44 kB / 445.1 MB, free: 1.176 MB / 362.7 MB Notification: Performance of SimCode: time 2.222e-06/0.6082, allocations: 0 / 445.1 MB, free: 1.176 MB / 362.7 MB Notification: Performance of Templates: time 0.01348/0.6217, allocations: 4.818 MB / 449.9 MB, free: 12.36 MB / 378.7 MB