Notification: Performance of FrontEnd - loaded program: time 1.939e-05/1.95e-05, allocations: 4 kB / 328.1 MB, free: 224 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08256/0.0826, allocations: 44.52 MB / 372.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/0.3782, allocations: 71.34 MB / 444 MB, free: 18.36 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.3786, allocations: 63.97 kB / 444 MB, free: 18.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05008/0.4287, allocations: 11.13 MB / 455.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.129e-06/0.4287, allocations: 0 / 455.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.397e-05/0.4288, allocations: 28 kB / 455.2 MB, free: 7.125 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.001971/0.4308, allocations: 0.8808 MB / 456.1 MB, free: 6.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4308, allocations: 8.031 kB / 456.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.4312, allocations: 90.97 kB / 456.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.4322, allocations: 441.5 kB / 456.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.56e-05/0.4323, allocations: 53.98 kB / 456.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.4324, allocations: 64 kB / 456.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002138/0.4346, allocations: 0.6482 MB / 457.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.437, allocations: 0.7854 MB / 458.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.437, allocations: 0 / 458.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.4372, allocations: 3.984 kB / 458.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.4372, allocations: 24 kB / 458.2 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004652/0.4419, allocations: 2.182 MB / 460.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.443, allocations: 0.6047 MB / 461 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/0.4436, allocations: 304 kB / 461.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.417e-05/0.4437, allocations: 20.77 kB / 461.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006948/0.4444, allocations: 394.3 kB / 461.7 MB, free: 420 kB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 4.335e-06/0.4444, allocations: 0 / 461.7 MB, free: 420 kB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.001357/0.4457, allocations: 0.6179 MB / 462.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.4459, allocations: 109.8 kB / 462.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/0.4463, allocations: 283.7 kB / 462.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.4464, allocations: 49.69 kB / 462.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.4467, allocations: 293 kB / 463 MB, free: 15.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.447, allocations: 229 kB / 463.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.4471, allocations: 0 / 463.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.4473, allocations: 362.8 kB / 463.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/0.4481, allocations: 226.6 kB / 463.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008077/0.4489, allocations: 449.1 kB / 464.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006806/0.4496, allocations: 242.3 kB / 464.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.302e-06/0.4496, allocations: 0 / 464.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00183/0.4515, allocations: 0.7386 MB / 465.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.4515, allocations: 8 kB / 465.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.4515, allocations: 4 kB / 465.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/0.4516, allocations: 15.98 kB / 465.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.4521, allocations: 119.6 kB / 465.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.4521, allocations: 15.94 kB / 465.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.4526, allocations: 47.94 kB / 465.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.4527, allocations: 47.98 kB / 465.5 MB, free: 12.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * 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.0002777/0.453, allocations: 178.7 kB / 465.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.4532, allocations: 47.44 kB / 465.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.455, allocations: 0.6751 MB / 466.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.455, allocations: 12 kB / 466.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.494e-06/0.4551, allocations: 3.953 kB / 466.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.4551, allocations: 3.984 kB / 466.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/0.4587, allocations: 1.471 MB / 467.9 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.4587, allocations: 4 kB / 467.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.4591, allocations: 75.77 kB / 467.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/0.4591, allocations: 4 kB / 467.9 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.4592, allocations: 7.984 kB / 467.9 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.049e-06/0.4592, allocations: 4 kB / 468 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.044e-06/0.4592, allocations: 0 / 468 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/0.4619, allocations: 1.57 MB / 469.5 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.462, allocations: 128.3 kB / 469.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/0.4621, allocations: 11.95 kB / 469.7 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.4625, allocations: 27.97 kB / 469.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/0.4628, allocations: 105.1 kB / 469.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.336e-05/0.4629, allocations: 31.98 kB / 469.8 MB, free: 7.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.4631, allocations: 140.5 kB / 470 MB, free: 7.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.12e-07/0.4631, allocations: 0 / 470 MB, free: 7.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001013/0.4641, allocations: 128 kB / 470.1 MB, free: 7.695 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 84 (transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0002857/0.4644, allocations: 160.8 kB / 470.2 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.4659, allocations: 0.6697 MB / 470.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.008e-06/0.4659, allocations: 1.5 kB / 470.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007025/0.4666, allocations: 352.8 kB / 471.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.4672, allocations: 60.44 kB / 471.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.4699, allocations: 1.321 MB / 472.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000785/0.4707, allocations: 0.9817 MB / 473.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005369/0.4713, allocations: 113.9 kB / 473.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.4715, allocations: 75.36 kB / 473.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of SimCode: time 1.567e-06/0.4716, allocations: 0 / 473.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of Templates: time 0.02131/0.4929, allocations: 6.456 MB / 480.3 MB, free: 13.46 MB / 350.1 MB